[asterisk-commits] dlee: trunk r393757 - /trunk/res/stasis_http/ari_websockets.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jul 5 14:56:52 CDT 2013
Author: dlee
Date: Fri Jul 5 14:56:50 2013
New Revision: 393757
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393757
Log:
Print error details when set nonblock fails
Modified:
trunk/res/stasis_http/ari_websockets.c
Modified: trunk/res/stasis_http/ari_websockets.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/stasis_http/ari_websockets.c?view=diff&rev=393757&r1=393756&r2=393757
==============================================================================
--- trunk/res/stasis_http/ari_websockets.c (original)
+++ trunk/res/stasis_http/ari_websockets.c Fri Jul 5 14:56:50 2013
@@ -65,7 +65,8 @@
if (ast_websocket_set_nonblock(ws_session) != 0) {
ast_log(LOG_ERROR,
- "Stasis web socket failed to set nonblock; closing\n");
+ "ARI web socket failed to set nonblock; closing: %s\n",
+ strerror(errno));
return NULL;
}
More information about the asterisk-commits
mailing list