mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merged revisions 97077 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r97077 | tilghman | 2008-01-08 12:02:13 -0600 (Tue, 08 Jan 2008) | 3 lines Apply multiple crash fixes, found in issue #11386, but not completely closing that issue. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2788,7 +2788,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
case 'x':
|
||||
ast_set_flag(&ast_options, AST_OPT_FLAG_EXEC);
|
||||
xarg = optarg;
|
||||
xarg = ast_strdupa(optarg);
|
||||
break;
|
||||
case 'C':
|
||||
ast_copy_string(cfg_paths.config_file, optarg, sizeof(cfg_paths.config_file));
|
||||
@@ -2810,10 +2810,10 @@ int main(int argc, char *argv[])
|
||||
show_version();
|
||||
exit(0);
|
||||
case 'U':
|
||||
runuser = optarg;
|
||||
runuser = ast_strdupa(optarg);
|
||||
break;
|
||||
case 'G':
|
||||
rungroup = optarg;
|
||||
rungroup = ast_strdupa(optarg);
|
||||
break;
|
||||
case 's':
|
||||
remotesock = optarg;
|
||||
|
Reference in New Issue
Block a user