Module: sip-router
Branch: sr_3.0
Commit: ac80f11893ab223f5464a23d1ea5635e959e41ee
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ac80f11…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Jan 21 17:32:42 2010 +0200
utils/sercmd: Fixed getopt() missing param
Getopt was missing the -U param
(cherry picked from commit 7c701df1be3d71afe49e7d017a90fa10c081b790)
---
utils/sercmd/sercmd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utils/sercmd/sercmd.c b/utils/sercmd/sercmd.c
index ada5ff6..1f1a721 100644
--- a/utils/sercmd/sercmd.c
+++ b/utils/sercmd/sercmd.c
@@ -1885,7 +1885,7 @@ int main(int argc, char** argv)
port_no=0;
sock_type=UNIXS_SOCK;
opterr=0;
- while((c=getopt(argc, argv, "Vhs:D:R:vf:"))!=-1){
+ while((c=getopt(argc, argv, "UVhs:D:R:vf:"))!=-1){
switch(c){
case 'V':
printf("version: %s\n", version);