[Asterisk-code-review] res pjsip transport management: Convert time in log message ... (asterisk[14.0])

Joshua Colp asteriskteam at digium.com
Thu Sep 15 05:52:27 CDT 2016


Joshua Colp has submitted this change and it was merged.

Change subject: res_pjsip_transport_management: Convert time in log message to seconds.
......................................................................


res_pjsip_transport_management: Convert time in log message to seconds.

ASTERISK-26375 #close

Change-Id: I46496af5cae41413e76d44d2068a7431279f09dc
---
M res/res_pjsip_transport_management.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Verified



diff --git a/res/res_pjsip_transport_management.c b/res/res_pjsip_transport_management.c
index 1cf8e50..3e129dc 100644
--- a/res/res_pjsip_transport_management.c
+++ b/res/res_pjsip_transport_management.c
@@ -134,7 +134,7 @@
 
 	if (!keepalive->sip_received) {
 		ast_log(LOG_NOTICE, "Shutting down transport '%s' since no request was received in %d seconds\n",
-				keepalive->transport->info, IDLE_TIMEOUT);
+				keepalive->transport->info, IDLE_TIMEOUT / 1000);
 		pjsip_transport_shutdown(keepalive->transport);
 	}
 

-- 
To view, visit https://gerrit.asterisk.org/3905
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I46496af5cae41413e76d44d2068a7431279f09dc
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 14.0
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list