ted-ross commented on a change in pull request #614: DISPATCH-1439 - Added two 
attributes to connection and one to router.
URL: https://github.com/apache/qpid-dispatch/pull/614#discussion_r343515001
 
 

 ##########
 File path: src/router_core/agent_router.c
 ##########
 @@ -233,6 +235,13 @@ static void qdr_agent_write_column_CT(qd_composed_field_t 
*body, int col, qdr_co
         qd_compose_insert_uint(body, core->links_blocked);
         break;
 
+    case QDR_ROUTER_UPTIME_SECONDS:
+        if (core->uptime_ticks== 0)
+            qd_compose_insert_uint(body, 0);
 
 Review comment:
   This if-then-else doesn't seem to be any different from simply calling 
qs_compose_insert_uint.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to