diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/strlist.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/strlist.c b/src/strlist.c index de76744..7a045f1 100644 --- a/src/strlist.c +++ b/src/strlist.c @@ -331,7 +331,7 @@ void strlist_set(struct StrList **pStrList, size_t index, char *value) {          }          memset((*pStrList)->data[index], '\0', strlen(value) + 1); -        strncpy((*pStrList)->data[index], value, strlen(value)); +        strcpy((*pStrList)->data[index], value);      }  } | 
