fix return value
This commit is contained in:
parent
3ea38175b4
commit
ffb9584e56
@ -35,7 +35,7 @@ static bool dupstr(char** dst, const char* src)
|
||||
free(*dst);
|
||||
*dst = NULL;
|
||||
if (!src)
|
||||
return TRUE;
|
||||
return true;
|
||||
*dst = _strdup(src);
|
||||
return *dst != NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user