[Asterisk-code-review] ari/ari websockets.c: Fix ast debug parameter type mismatch. (asterisk[master])

Richard Mudgett asteriskteam at digium.com
Wed Aug 19 12:18:59 CDT 2015


Richard Mudgett has uploaded a new change for review.

  https://gerrit.asterisk.org/1122

Change subject: ari/ari_websockets.c: Fix ast_debug parameter type mismatch.
......................................................................

ari/ari_websockets.c: Fix ast_debug parameter type mismatch.

This is a type mismatch fix of the debugging commit
c63316eec10e1990a88bf4712238d6deb375bfa9 made to find out why
a testsuite test was failing only on one of the continuous
integration build agents.

Change-Id: Iba34f6e87cec331f6ac80e4daff6476ea6f00a75
---
M res/ari/ari_websockets.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/22/1122/1

diff --git a/res/ari/ari_websockets.c b/res/ari/ari_websockets.c
index 528e7f8..ed02437 100644
--- a/res/ari/ari_websockets.c
+++ b/res/ari/ari_websockets.c
@@ -174,7 +174,7 @@
 		return -1;
 	}
 
-	ast_debug(3, "Examining ARI event (length %zu): \n%s\n", strlen(str), str);
+	ast_debug(3, "Examining ARI event (length %u): \n%s\n", (unsigned int) strlen(str), str);
 	if (ast_websocket_write_string(session->ws_session, str)) {
 		ast_log(LOG_NOTICE, "Problem occurred during websocket write, websocket closed\n");
 		return -1;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iba34f6e87cec331f6ac80e4daff6476ea6f00a75
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list