mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-16 16:07:30 +00:00
minissdpd/testminissdpd.c: minor comment/log changes
This commit is contained in:
parent
68f819d58a
commit
210851edc2
@ -2,7 +2,7 @@
|
|||||||
/* Project : miniupnp
|
/* Project : miniupnp
|
||||||
* website : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
* website : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||||
* Author : Thomas BERNARD
|
* 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
|
* This software is subjet to the conditions detailed in the
|
||||||
* provided LICENCE file. */
|
* provided LICENCE file. */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -78,7 +78,7 @@ int connect_unix_socket(const char * sockpath)
|
|||||||
perror("connect");
|
perror("connect");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
printf("Connected.\n");
|
printf("Connected to %s\n", addr.sun_path);
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -155,6 +155,7 @@ main(int argc, char * * argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
SENDCOMMAND(command4, sizeof(command4));
|
SENDCOMMAND(command4, sizeof(command4));
|
||||||
|
/* no response for request type 4 */
|
||||||
|
|
||||||
SENDCOMMAND(bad_command, sizeof(bad_command));
|
SENDCOMMAND(bad_command, sizeof(bad_command));
|
||||||
n = read(s, buf, sizeof(buf));
|
n = read(s, buf, sizeof(buf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user