From 208fb891e36f16d20262710c70ef0ff3df0e885c Mon Sep 17 00:00:00 2001 From: KaoruToda Date: Mon, 9 Oct 2017 20:05:58 +0900 Subject: Since return is inconsistent, I removed unnecessary parentheses and unified them. - return (0); -> return 0; - return (1); -> return 1; - return (-1); -> return -1; Reviewed-by: Stephen Henson Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/4500) --- crypto/bio/bss_sock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/bio/bss_sock.c') diff --git a/crypto/bio/bss_sock.c b/crypto/bio/bss_sock.c index 71be1cde83..6ff0f663ed 100644 --- a/crypto/bio/bss_sock.c +++ b/crypto/bio/bss_sock.c @@ -73,7 +73,7 @@ static int sock_new(BIO *bi) bi->num = 0; bi->ptr = NULL; bi->flags = 0; - return (1); + return 1; } static int sock_free(BIO *a) @@ -87,7 +87,7 @@ static int sock_free(BIO *a) a->init = 0; a->flags = 0; } - return (1); + return 1; } static int sock_read(BIO *b, char *out, int outl) @@ -223,7 +223,7 @@ int BIO_sock_non_fatal_error(int err) # ifdef EALREADY case EALREADY: # endif - return (1); + return 1; default: break; } -- cgit v1.2.3