summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-04-17 13:58:40 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-04-17 13:58:40 +0000
commit44e7f5649e8cd9487de6ae2235db58f6c532f99b (patch)
treec7c0cb2353aa80982b1d611985c099a787161aac
parentfcdaa3b8e98c4864efd3f1e162550eecad739b49 (diff)
KNF.
-rw-r--r--lib/libcrypto/buffer/buf_str.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/buffer/buf_str.c b/lib/libcrypto/buffer/buf_str.c
index c884d20c66e..7b1663349cc 100644
--- a/lib/libcrypto/buffer/buf_str.c
+++ b/lib/libcrypto/buffer/buf_str.c
@@ -74,7 +74,7 @@ BUF_strdup(const char *str)
char *ret = NULL;
if (str != NULL) {
if (!(ret = strdup(str)))
- BUFerr(BUF_F_BUF_STRDUP,ERR_R_MALLOC_FAILURE);
+ BUFerr(BUF_F_BUF_STRDUP, ERR_R_MALLOC_FAILURE);
}
return ret;
}
@@ -85,7 +85,7 @@ BUF_strndup(const char *str, size_t siz)
char *ret = NULL;
if (str != NULL) {
if (!(ret = strndup(str, siz)))
- BUFerr(BUF_F_BUF_STRNDUP,ERR_R_MALLOC_FAILURE);
+ BUFerr(BUF_F_BUF_STRNDUP, ERR_R_MALLOC_FAILURE);
}
return ret;
}
@@ -96,7 +96,7 @@ BUF_memdup(const void *data, size_t siz)
void *ret = NULL;
if (data != NULL) {
if (!(ret = malloc(siz)))
- BUFerr(BUF_F_BUF_MEMDUP,ERR_R_MALLOC_FAILURE);
+ BUFerr(BUF_F_BUF_MEMDUP, ERR_R_MALLOC_FAILURE);
else
(void) memcpy(ret, data, siz);
}