mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
fix return value
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user