diff options
Diffstat (limited to 'src/strings.c')
-rw-r--r-- | src/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.c b/src/strings.c index 4081c06..24ae00f 100644 --- a/src/strings.c +++ b/src/strings.c @@ -232,7 +232,7 @@ spiftool_safe_strncat(spif_charptr_t dest, const spif_charptr_t src, spif_int32_ if ((len < 0) || (len >= size)) { return FALSE; } else { - return spiftool_safe_strncpy(dest + len, size - len, src); + return spiftool_safe_strncpy(dest + len, src, size - len); } } |