Fixed a bug in httpd.c

This commit is contained in:
Markus Makela 2014-11-13 13:33:14 +02:00
parent 59b587462a
commit fe20698fb0

View File

@ -343,13 +343,14 @@ int n_connect = 0;
if (poll_add_dcb(client) == -1)
{
close(so);
return n_connect;
}
n_connect++;
}
}
}
close(so);
return n_connect;
}