diff options
Diffstat (limited to 'crypto/bio/bss_log.c')
-rw-r--r-- | crypto/bio/bss_log.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index 181ab9c58f..b5b9363c38 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -101,7 +101,7 @@ static const BIO_METHOD methods_slg = { const BIO_METHOD *BIO_s_log(void) { - return (&methods_slg); + return &methods_slg; } static int slg_new(BIO *bi) @@ -116,7 +116,7 @@ static int slg_new(BIO *bi) static int slg_free(BIO *a) { if (a == NULL) - return (0); + return 0; xcloselog(a); return 1; } @@ -196,7 +196,7 @@ static int slg_write(BIO *b, const char *in, int inl) }; if ((buf = OPENSSL_malloc(inl + 1)) == NULL) { - return (0); + return 0; } strncpy(buf, in, inl); buf[inl] = '\0'; @@ -210,7 +210,7 @@ static int slg_write(BIO *b, const char *in, int inl) xsyslog(b, priority, pp); OPENSSL_free(buf); - return (ret); + return ret; } static long slg_ctrl(BIO *b, int cmd, long num, void *ptr) @@ -223,7 +223,7 @@ static long slg_ctrl(BIO *b, int cmd, long num, void *ptr) default: break; } - return (0); + return 0; } static int slg_puts(BIO *bp, const char *str) @@ -232,7 +232,7 @@ static int slg_puts(BIO *bp, const char *str) n = strlen(str); ret = slg_write(bp, str, n); - return (ret); + return ret; } # if defined(OPENSSL_SYS_WIN32) |