Update cstr_helper.c

fixing indentation
This commit is contained in:
Michael Tryby
2019-04-16 15:54:12 -04:00
parent 02ec735c58
commit 2d74851635

View File

@@ -27,9 +27,9 @@ int cstr_duplicate(char **dest, const char *source)
return -1; return -1;
else { else {
#ifdef _MSC_VER #ifdef _MSC_VER
strncpy_s(*dest, size, source, size); strncpy_s(*dest, size, source, size);
#else #else
strncpy(*dest, source, size); strncpy(*dest, source, size);
#endif #endif
} }
return 0; return 0;