summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-01-09 00:58:22 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-01-09 00:58:22 +0000
commit9b903da6216875562051224e2f17880d346b68d3 (patch)
tree75f4f6cabea65134ee2b1ef55913dee2968e9f50
parent43a172de573fb0e0a8170e07f42b8c0c5f2de2b4 (diff)
New option in trunk, needs strdupa to be safe, too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--main/asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index d4a96f8ba..3ba00753c 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -2816,7 +2816,7 @@ int main(int argc, char *argv[])
rungroup = ast_strdupa(optarg);
break;
case 's':
- remotesock = optarg;
+ remotesock = ast_strdupa(optarg);
break;
case '?':
exit(1);