no need to parse, if we didn't get anything

This commit is contained in:
Yuval Tal
2011-05-29 10:45:36 +03:00
parent e0e8a09ccb
commit 18943dc626
+1 -1
View File
@@ -353,7 +353,7 @@ void handleClient(int pSock, char *pPassword, char *pHWADDR)
while(1 == tMoreDataNeeded)
{
tError = readDataFromClient(pSock, &(tConn.recv));
if(!tError)
if(!tError && strlen(tConn.recv.data) > 0)
{
slog(LOG_DEBUG_VV, "Finished Reading some data from client\n");
// parse client request