[asterisk-commits] dlee: branch dlee/ASTERISK-22296 r397697 - /team/dlee/ASTERISK-22296/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Aug 26 20:59:23 CDT 2013
Author: dlee
Date: Mon Aug 26 20:59:21 2013
New Revision: 397697
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=397697
Log:
typos
Modified:
team/dlee/ASTERISK-22296/res/res_http_websocket.c
Modified: team/dlee/ASTERISK-22296/res/res_http_websocket.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-22296/res/res_http_websocket.c?view=diff&rev=397697&r1=397696&r2=397697
==============================================================================
--- team/dlee/ASTERISK-22296/res/res_http_websocket.c (original)
+++ team/dlee/ASTERISK-22296/res/res_http_websocket.c Mon Aug 26 20:59:21 2013
@@ -120,7 +120,7 @@
ast_module_unref(ast_module_info->self);
}
-static struct ast_websocket_server *ast_websocket_server_create_impl(void (*dtor)(void *))
+static struct ast_websocket_server *websocket_server_create_impl(void (*dtor)(void *))
{
RAII_VAR(struct ast_websocket_server *, server, NULL, ao2_cleanup);
@@ -138,15 +138,15 @@
return server;
}
-static struct ast_websocket_server *ast_websocket_server_internal create(void)
-{
- return ast_websocket_server_internal_create(websocket_server_internal_dtor);
+static struct ast_websocket_server *websocket_server_internal_create(void)
+{
+ return websocket_server_create_impl(websocket_server_internal_dtor);
}
struct ast_websocket_server *ast_websocket_server_create(void)
{
ast_module_ref(ast_module_info->self);
- return ast_websocket_server_internal_create(websocket_server_dtor);
+ return websocket_server_create_impl(websocket_server_dtor);
}
/*! \brief Destructor function for sessions */
@@ -776,7 +776,7 @@
static int load_module(void)
{
- websocketuri.data = ast_websocket_server_internal_create();
+ websocketuri.data = websocket_server_internal_create();
if (!websocketuri.data) {
return AST_MODULE_LOAD_FAILURE;
}
More information about the asterisk-commits
mailing list