[Debian-iot-packaging] [openzwave-controlpanel] 30/81: Some statistics name changes and change interface to capture controller errors.

Dara Adib daradib-guest at moszumanska.debian.org
Thu Dec 22 16:57:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

daradib-guest pushed a commit to branch debian/master
in repository openzwave-controlpanel.

commit a65586e5fc69756e1137ade7358da3aed33e3f80
Author: glsatz at gmail.com <glsatz at gmail.com>
Date:   Thu Dec 13 07:45:36 2012 +0000

    Some statistics name changes and change interface to capture controller
    errors.
---
 webserver.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/webserver.cpp b/webserver.cpp
index f7d4f0c..34ab968 100644
--- a/webserver.cpp
+++ b/webserver.cpp
@@ -432,8 +432,8 @@ const char *Webserver::SendStatResponse (struct MHD_Connection *conn, const char
 	nodeElement->LinkEndChild(newstat("nstat", "Received duplicates", ndata.m_receivedDups));
 	nodeElement->LinkEndChild(newstat("nstat", "Last sent message", ndata.m_sentTS.c_str()));
 	nodeElement->LinkEndChild(newstat("nstat", "Last received message", ndata.m_receivedTS.c_str()));
-	nodeElement->LinkEndChild(newstat("nstat", "Last RTT", ndata.m_averageRTT));
-	nodeElement->LinkEndChild(newstat("nstat", "Average RTT", ndata.m_averageRTT));
+	nodeElement->LinkEndChild(newstat("nstat", "Last RTT", ndata.m_averageRequestRTT));
+	nodeElement->LinkEndChild(newstat("nstat", "Average RTT", ndata.m_averageRequestRTT));
 	nodeElement->LinkEndChild(newstat("nstat", "Quality", ndata.m_quality));
 	while (!ndata.m_ccData.empty()) {
 	  Node::CommandClassData ccd = ndata.m_ccData.front();
@@ -746,7 +746,7 @@ int Webserver::SendPollResponse (struct MHD_Connection *conn)
  * Handle controller function feedback from library.
  */
 
-void web_controller_update (Driver::ControllerState cs, void *ct)
+void web_controller_update (Driver::ControllerState cs, Driver::ControllerError err, void *ct)
 {
   Webserver *cp = (Webserver *)ct;
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-iot/openzwave-controlpanel.git



More information about the Debian-iot-packaging mailing list