[asterisk-commits] dlee: branch dlee/stasis-app r383323 - /team/dlee/stasis-app/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 18 12:45:39 CDT 2013


Author: dlee
Date: Mon Mar 18 12:45:38 2013
New Revision: 383323

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=383323
Log:
Removed ast_ prefix from static functions

Modified:
    team/dlee/stasis-app/res/res_stasis_websocket.c

Modified: team/dlee/stasis-app/res/res_stasis_websocket.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-app/res/res_stasis_websocket.c?view=diff&rev=383323&r1=383322&r2=383323
==============================================================================
--- team/dlee/stasis-app/res/res_stasis_websocket.c (original)
+++ team/dlee/stasis-app/res/res_stasis_websocket.c Mon Mar 18 12:45:38 2013
@@ -91,7 +91,7 @@
  * \return 0 on success.
  * \return -1 on error.
  */
-static int ast_websocket_write_json(struct ast_websocket *session, struct ast_json *message)
+static int websocket_write_json(struct ast_websocket *session, struct ast_json *message)
 {
 	RAII_VAR(char *, str, ast_json_dump_string(message), ast_free);
 
@@ -145,7 +145,7 @@
 	res = ast_json_object_set(message, "application", ast_json_string_create(app_name));
 	ast_assert(res == 0);
 
-	ast_websocket_write_json(session->ws_session, message);
+	websocket_write_json(session->ws_session, message);
 }
 
 
@@ -262,7 +262,7 @@
 			}
 
 			if (resp) {
-				ast_websocket_write_json(session, resp);
+				websocket_write_json(session, resp);
 			}
 		} else if (opcode == AST_WEBSOCKET_OPCODE_CLOSE) {
 			break;




More information about the asterisk-commits mailing list