Fixes to Coverity defects: 72662 82143 82144 82145 82348 82349

This commit is contained in:
Markus Makela
2014-11-20 06:44:43 +02:00
parent 43ed77b52b
commit a65b9fa8b3
8 changed files with 36 additions and 13 deletions

View File

@ -173,7 +173,7 @@ HTTPD_session *client_data = NULL;
i = 0;
while (ISspace(buf[j]) && (j < sizeof(buf))) {
while ( (j < sizeof(buf)) && ISspace(buf[j])) {
j++;
}
@ -354,6 +354,7 @@ int n_connect = 0;
n_connect++;
}
}
close(so);
}
return n_connect;