diff options
-rw-r--r-- | src/FSWrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FSWrap.c b/src/FSWrap.c index 45a2c34..910e602 100644 --- a/src/FSWrap.c +++ b/src/FSWrap.c @@ -130,7 +130,7 @@ copy_string_list( char **string_list_ret, **list_src, **list_dst, *dst; int length, count; - if (string_list == NULL || list_count == 0) + if (string_list == NULL || list_count <= 0) return (char **) NULL; string_list_ret = (char **) Xmalloc(sizeof(char *) * list_count); |