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 3914840d78
commit a2eabadb07

View File

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