Fix a logic error

This commit is contained in:
Přemysl Eric Janouch 2023-04-14 07:52:53 +02:00
parent eb44b6fb91
commit 5e10f0ba54
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -3165,7 +3165,7 @@ static char *
model_strappend(char **p, const char *string, size_t size) model_strappend(char **p, const char *string, size_t size)
{ {
if (!string) if (!string)
return *p; return NULL;
char *destination = memcpy(*p, string, size); char *destination = memcpy(*p, string, size);
*p += size; *p += size;