[ANNOUNCE] WAPD Plugin 0.9
Commit Message
On Monday 21 January 2008, Thomas Heiligenmann wrote:
> A new version of the plugin is available:
>
> Download: http://www.heiligenmann.de/vdr/download/
> Filename: vdr-wapd-0.9.tgz
> Filesize: 31975
>
> See HISTORY and README for details. Thanks to all, who have provided
> ideas and patches.
Here are some small patches for the next version:
- i18n: fixes some missing translatable strings, adds missing/improves
existing Finnish translations
- headers: adds missing HTTP headers to the "access denied" response
- signedness: fixes (un)signedness of source port format conversion
in "connect from" log message - ntohs returns an uint16_t
@@ -217,7 +217,7 @@ int cWapSocket::Accept(void)
close(newsock);
newsock = -1;
}
- isyslog("WAPD: connect from %s, port %hd - %s", inet_ntoa(clientname.sin_addr), ntohs(clientname.sin_port), accepted ? "accepted" : "DENIED");
+ isyslog("WAPD: connect from %s, port %hu - %s", inet_ntoa(clientname.sin_addr), ntohs(clientname.sin_port), accepted ? "accepted" : "DENIED");
} else if (errno != EINTR && errno != EAGAIN)
LOG_ERROR;
return newsock;