brokenhttpd/src/ssl-bozo.c
/*
 * bozo_check_error_queue:  print warnings if the error isn't expected
 */
print warnings if the error isn't expected
print warnings if the error isn ' t expected
static void
bozo_check_error_queue(bozohttpd_t *httpd, const char *tag, int ret)
{
	if (ret > 0)
		return;
	const sslinfo_t *sslinfo = httpd->sslinfo;
	const int sslerr = SSL_get_error(sslinfo->bozossl, ret);
	if (sslerr != SSL_ERROR_ZERO_RETURN &&
	    sslerr != SSL_ERROR_SYSCALL &&
	    sslerr != SSL_ERROR_NONE)
		bozo_ssl_warn(httpd, "%s: SSL_ERROR %d", tag, sslerr);
}
static void bozo_check_error_queue ( bozohttpd_t * httpd , const char * tag , int ret ) { if ( ret > 0 ) return ; const sslinfo_t * sslinfo = httpd -> sslinfo ; const int sslerr = SSL_get_error ( sslinfo -> bozossl , ret ) ; if ( sslerr != SSL_ERROR_ZERO_RETURN && sslerr != SSL_ERROR_SYSCALL && sslerr != SSL_ERROR_NONE ) bozo_ssl_warn ( httpd , " " , tag , sslerr ) ; }
bozo_check_error_queue:  print warnings if the error isn't expected
bozo_check_error_queue : print warnings if the error isn ' t expected