powerguru-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Powerguru-commit] [SCM] powerguru branch, master, updated. a1c4e149e354


From: Rob Savoye
Subject: [Powerguru-commit] [SCM] powerguru branch, master, updated. a1c4e149e35485194c91d0a24c36059faa4fcc05
Date: Fri, 21 Dec 2018 16:15:09 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "powerguru".

The branch, master has been updated
       via  a1c4e149e35485194c91d0a24c36059faa4fcc05 (commit)
      from  92ac0be47ba4dac32cff29ed4d9ae3a35198c6ff (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/powerguru.git/commit/?id=a1c4e149e35485194c91d0a24c36059faa4fcc05


commit a1c4e149e35485194c91d0a24c36059faa4fcc05
Author: Rob Savoye <address@hidden>
Date:   Fri Dec 21 14:15:05 2018 -0700

    Constrct with hostname of remote server

diff --git a/devices/ownet.cc b/devices/ownet.cc
index 01a68c5..eb21c1e 100644
--- a/devices/ownet.cc
+++ b/devices/ownet.cc
@@ -27,8 +27,9 @@
 
 extern LogFile dbglogfile;
 
-Ownet::Ownet(void) {
-    DEBUGLOG_REPORT_FUNCTION;
+Ownet::Ownet(const std::string &host)
+{
+//    DEBUGLOG_REPORT_FUNCTION;
 
     dbglogfile << "Trying to connect to the owserver" << std::endl;
     char *buf = 0;
@@ -117,8 +118,9 @@ Ownet::Ownet(void) {
     }
 }
 
-void Ownet::dump(void) {
-    DEBUGLOG_REPORT_FUNCTION;
+void Ownet::dump(void)
+{
+//    DEBUGLOG_REPORT_FUNCTION;
 
     std::map<std::string, ownet_t *>::iterator sit;
     for (sit = _sensors.begin(); sit != _sensors.end(); sit++) {
diff --git a/devices/ownet.h b/devices/ownet.h
index 50e7a58..b3d0439 100644
--- a/devices/ownet.h
+++ b/devices/ownet.h
@@ -61,6 +61,7 @@ private:
 #endif
 public:
     Ownet(void);
+    Ownet(const std::string &host);
     ~Ownet(void) {
         OW_finish();
     };

-----------------------------------------------------------------------

Summary of changes:
 devices/ownet.cc | 10 ++++++----
 devices/ownet.h  |  1 +
 2 files changed, 7 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
powerguru



reply via email to

[Prev in Thread] Current Thread [Next in Thread]