Module: sip-router
Branch: master
Commit: 7c701df1be3d71afe49e7d017a90fa10c081b790
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7c701df…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Thu Jan 21 17:32:42 2010 +0200
utils/sercmd: Fixed getopt() missing param
Getopt was missing the -U param
---
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);