Fix an off-by-one error

This commit is contained in:
mmdolze
2009-03-26 18:54:34 +00:00
parent ddd39c7fd4
commit 0d846991fb
+1 -1
View File
@@ -395,7 +395,7 @@ sock_poll_clients(void)
static int
sock_read_from_client(ClientSocketMap *clientSocketMap)
{
char buffer[MAXMSG];
char buffer[MAXMSG + 1];
int nbytes, i;
debug(RPT_DEBUG, "%s()", __FUNCTION__);