|
@@ -3131,7 +3131,7 @@ static int www_body(int s, int stype, int prot, unsigned char *context)
|
|
|
}
|
|
|
|
|
|
/* lets make the output buffer a reasonable size */
|
|
|
- if (!BIO_set_write_buffer_size(io, bufsize))
|
|
|
+ if (BIO_set_write_buffer_size(io, bufsize) <= 0)
|
|
|
goto err;
|
|
|
|
|
|
if ((con = SSL_new(ctx)) == NULL)
|
|
@@ -3560,7 +3560,7 @@ static int rev_body(int s, int stype, int prot, unsigned char *context)
|
|
|
goto err;
|
|
|
|
|
|
/* lets make the output buffer a reasonable size */
|
|
|
- if (!BIO_set_write_buffer_size(io, bufsize))
|
|
|
+ if (BIO_set_write_buffer_size(io, bufsize) <= 0)
|
|
|
goto err;
|
|
|
|
|
|
if ((con = SSL_new(ctx)) == NULL)
|