[asterisk-commits] moy: branch 11 r409703 - /branches/11/res/res_http_websocket.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 4 22:55:16 CST 2014
Author: moy
Date: Tue Mar 4 22:55:11 2014
New Revision: 409703
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=409703
Log:
Fix res/res_http_websocket.c build failure in 32bit due to incorrect print format for uint64_t
Modified:
branches/11/res/res_http_websocket.c
Modified: branches/11/res/res_http_websocket.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/res/res_http_websocket.c?view=diff&rev=409703&r1=409702&r2=409703
==============================================================================
--- branches/11/res/res_http_websocket.c (original)
+++ branches/11/res/res_http_websocket.c Tue Mar 4 22:55:11 2014
@@ -433,7 +433,7 @@
}
if (!(new_payload = ast_realloc(session->payload, (session->payload_len + *payload_len)))) {
- ast_log(LOG_WARNING, "Failed allocation: %p, %zd, %lu\n",
+ ast_log(LOG_WARNING, "Failed allocation: %p, %zd, %"PRIu64"\n",
session->payload, session->payload_len, *payload_len);
*payload_len = 0;
ast_websocket_close(session, 1009);
More information about the asterisk-commits
mailing list