From: Jo-Philipp Wich Date: Wed, 3 Sep 2014 13:18:49 +0000 (+0200) Subject: main: use proper variable when warning about unsupported features X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d6d8079d2b8540831c39b1844029dfdd848d0a3a;p=oweals%2Fuhttpd.git main: use proper variable when warning about unsupported features Reported-by: Sebastian Apel Signed-off-by: Jo-Philipp Wich --- diff --git a/main.c b/main.c index 44c3226..fba5f80 100644 --- a/main.c +++ b/main.c @@ -246,7 +246,7 @@ int main(int argc, char **argv) case 'K': case 's': fprintf(stderr, "uhttpd: TLS support not compiled, " - "ignoring -%c\n", opt); + "ignoring -%c\n", ch); break; #endif case 'p': @@ -388,7 +388,7 @@ int main(int argc, char **argv) case 'l': case 'L': fprintf(stderr, "uhttpd: Lua support not compiled, " - "ignoring -%c\n", opt); + "ignoring -%c\n", ch); break; #endif #ifdef HAVE_UBUS @@ -413,7 +413,7 @@ int main(int argc, char **argv) case 'U': case 'X': fprintf(stderr, "uhttpd: UBUS support not compiled, " - "ignoring -%c\n", opt); + "ignoring -%c\n", ch); break; #endif default: