summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-09-08 02:47:03 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2021-09-08 02:47:03 +0200
commita171050b71dbe8c1950f8e9f4d2ba6c36aa64196 (patch)
tree01fea67cfd89530651c1c6e58a301bc53a64dd8c /main.c
parent75e55d46fbf193ba4768b8fdd9926783968e7be8 (diff)
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 2db8326..50faf73 100644
--- a/main.c
+++ b/main.c
@@ -291,6 +291,7 @@ int main(int argc, char **argv)
else {
free(device);
device = strdup(optarg);
+ fprintf(stderr, "uhttpd: bind device %s\n", device);
}
break;
@@ -309,6 +310,7 @@ int main(int argc, char **argv)
#endif
case 'p':
optarg = strdup(optarg);
+ fprintf(stderr, "uhttpd: listen device %s\n", device);
bound += add_listener_arg(optarg, device, (ch == 's'));
break;