]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
squidclient: Fix -m option to correctly read method argument
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 18 Jul 2014 08:58:00 +0000 (11:58 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 18 Jul 2014 08:58:00 +0000 (11:58 +0300)
tools/squidclient/squidclient.cc

index 23b8c2ab2b02d87558ab9f33e79e8b2bf770f892..2267e586c38c6dfa60a565e49fd30fe3de041f23 100644 (file)
@@ -194,7 +194,7 @@ main(int argc, char *argv[])
         url[BUFSIZ - 1] = '\0';
 
         int optIndex = 0;
-        const char *shortOpStr = "aA:h:j:V:l:P:i:kmnN:p:rsvt:H:T:u:U:w:W:?";
+        const char *shortOpStr = "aA:h:j:V:l:P:i:km:nN:p:rsvt:H:T:u:U:w:W:?";
 
         // options for controlling squidclient
         static struct option basicOptions[] = {