summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vladimir Shabanov <vshabanoff@gmail.com>2017-06-15 17:13:22 +0300
committerGravatar Vladimir Shabanov <vshabanoff@gmail.com>2017-06-15 17:13:22 +0300
commit0ac03b426a139c4ac93fc5365e3aa8f748a90984 (patch)
treee56c7a099121f6b13b03c7de6e8c29c1e18b7b1c
parent47e5f0f3e63b48e6758d1d52edffbcb8a9e74fd7 (diff)
Fixed 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");