From 210851edc2af9f87ac2d4eaf91118e934bcae71b Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 27 May 2015 10:41:37 +0200 Subject: [PATCH] minissdpd/testminissdpd.c: minor comment/log changes --- minissdpd/testminissdpd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/minissdpd/testminissdpd.c b/minissdpd/testminissdpd.c index 60c5b9b..605bea6 100644 --- a/minissdpd/testminissdpd.c +++ b/minissdpd/testminissdpd.c @@ -2,7 +2,7 @@ /* Project : miniupnp * website : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * Author : Thomas BERNARD - * copyright (c) 2005-2014 Thomas Bernard + * copyright (c) 2005-2015 Thomas Bernard * This software is subjet to the conditions detailed in the * provided LICENCE file. */ #include "config.h" @@ -78,7 +78,7 @@ int connect_unix_socket(const char * sockpath) perror("connect"); exit(1); } - printf("Connected.\n"); + printf("Connected to %s\n", addr.sun_path); return s; } @@ -155,6 +155,7 @@ main(int argc, char * * argv) } SENDCOMMAND(command4, sizeof(command4)); + /* no response for request type 4 */ SENDCOMMAND(bad_command, sizeof(bad_command)); n = read(s, buf, sizeof(buf));