mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Fix exit value on SERVERQUIT
This commit is contained in:
committed by
Paul Bakker
parent
7669f28421
commit
e8ea0c0421
@ -822,7 +822,10 @@ reset:
|
||||
printf( " %d bytes read\n\n%s\n", len, (char *) buf );
|
||||
|
||||
if( memcmp( buf, "SERVERQUIT", 10 ) == 0 )
|
||||
{
|
||||
ret = 0;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
if( ret > 0 )
|
||||
break;
|
||||
|
Reference in New Issue
Block a user