Module: sip-router
Branch: kamailio_3.0
Commit: 6f62f7fad5a2c726d95ac6c47129494bbabc11b1
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6f62f7f…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
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);