Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
satips: fix port number display in trace
  • Loading branch information
Damjan Marion authored and perexg committed Oct 26, 2015
1 parent 7b20989 commit 322fbb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/satip/server.c
Expand Up @@ -353,7 +353,7 @@ CONFIGID.UPNP.ORG: 0\r\n"
if (tvhtrace_enabled()) {
tcp_get_str_from_ip((struct sockaddr *)dst, buf, sizeof(buf));
tvhtrace("satips", "sending discover reply to %s:%d%s%s",
buf, IP_PORT(*dst), deviceid ? " device: " : "", deviceid ?: "");
buf, ntohs(IP_PORT(*dst)), deviceid ? " device: " : "", deviceid ?: "");
}

snprintf(buf, sizeof(buf), MSG, UPNP_MAX_AGE,
Expand Down

0 comments on commit 322fbb2

Please sign in to comment.