[asterisk-commits] moy: trunk r409832 - /trunk/res/res_http_websocket.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Mar 5 10:26:43 CST 2014
Author: moy
Date: Wed Mar 5 10:26:38 2014
New Revision: 409832
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=409832
Log:
Fix res/res_http_websocket.c build failure in 32bit due to incorrect print format for uint64_t
Modified:
trunk/res/res_http_websocket.c
Modified: trunk/res/res_http_websocket.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_http_websocket.c?view=diff&rev=409832&r1=409831&r2=409832
==============================================================================
--- trunk/res/res_http_websocket.c (original)
+++ trunk/res/res_http_websocket.c Wed Mar 5 10:26:38 2014
@@ -481,7 +481,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