From 2d74851635f06ac153c3ae609f31ae7754669cdb Mon Sep 17 00:00:00 2001 From: Michael Tryby Date: Tue, 16 Apr 2019 15:54:12 -0400 Subject: [PATCH] Update cstr_helper.c fixing indentation --- src/util/cstr_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/cstr_helper.c b/src/util/cstr_helper.c index fd91ff3..d8706d3 100644 --- a/src/util/cstr_helper.c +++ b/src/util/cstr_helper.c @@ -27,9 +27,9 @@ int cstr_duplicate(char **dest, const char *source) return -1; else { #ifdef _MSC_VER - strncpy_s(*dest, size, source, size); + strncpy_s(*dest, size, source, size); #else - strncpy(*dest, source, size); + strncpy(*dest, source, size); #endif } return 0;