aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-27 23:28:01 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-27 23:28:01 +0000
commiteaa6eea1b706d3805a9631e7c0538afe05a6ea29 (patch)
tree93c135ca7da0541ca96d2bcee01b1c00bb7f8ffe /main/asterisk.c
parent7c985dc90cb46291d355281664da74a103abb74e (diff)
Fix -s socket option, and document it as well.
Closes issue #11645, patch by Laureano. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95070 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
-rw-r--r--main/asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index ea464b76a..3e1ecad43 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -2851,7 +2851,7 @@ int main(int argc, char *argv[])
ast_readconfig();
if (ast_opt_remote && remotesock != NULL)
- ast_copy_string((char *) ast_config_AST_SOCKET, remotesock, sizeof(ast_config_AST_SOCKET));
+ ast_copy_string((char *) cfg_paths.socket_path, remotesock, sizeof(cfg_paths.socket_path));
if (!ast_language_is_prefix && !ast_opt_remote)
ast_log(LOG_WARNING, "The 'languageprefix' option in asterisk.conf is deprecated; in a future release it will be removed, and your sound files will need to be organized in the 'new style' language layout.\n");