summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@csail.mit.edu>2017-07-12 15:22:36 -0400
committerGravatar GitHub <noreply@github.com>2017-07-12 15:22:36 -0400
commit979ad6b8246e50d5c1f685afd0bd41ec0298696b (patch)
treed83a332c58d09cc798e0fae4c8fb0efb02644844
parentda41c11a0f85f14558986710d4396ad71b21641f (diff)
parent0ac03b426a139c4ac93fc5365e3aa8f748a90984 (diff)
Merge pull request #80 from vshabanov/m-flag-fix
Fix for non-working '-m' runtime option
-rw-r--r--src/c/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/http.c b/src/c/http.c
index b39520cc..21ad809f 100644
--- a/src/c/http.c
+++ b/src/c/http.c
@@ -359,7 +359,7 @@ int main(int argc, char *argv[]) {
my_addr.sa.sa_family = AF_INET;
my_addr.ipv4.sin_addr.s_addr = INADDR_ANY; // auto-fill with my IP
- while ((opt = getopt(argc, argv, "hp:a:A:t:kqT:")) != -1) {
+ while ((opt = getopt(argc, argv, "hp:a:A:t:kqT:m:")) != -1) {
switch (opt) {
case '?':
fprintf(stderr, "Unknown command-line option\n");