Actually increment the loop counter to quit in ssl_fork_server

This commit is contained in:
Paul Bakker 2014-04-17 16:03:23 +02:00
parent 0c22610693
commit 030decdb4e

View file

@ -334,7 +334,7 @@ int main( int argc, char *argv[] )
len = sprintf( (char *) buf, HTTP_RESPONSE,
ssl_get_ciphersuite( &ssl ) );
while( cnt < 100 )
while( cnt++ < 100 )
{
while( ( ret = ssl_write( &ssl, buf, len ) ) <= 0 )
{