aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fiv-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fiv-io.c b/fiv-io.c
index 004debb..7347bd1 100644
--- a/fiv-io.c
+++ b/fiv-io.c
@@ -3165,7 +3165,7 @@ static char *
model_strappend(char **p, const char *string, size_t size)
{
if (!string)
- return *p;
+ return NULL;
char *destination = memcpy(*p, string, size);
*p += size;