mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-21 18:26:06 -05:00
Merge branch 'master' into fixthreads
This commit is contained in:
@@ -262,6 +262,15 @@ safe_hextou64(const char *str, uint64_t *val)
|
||||
return 0;
|
||||
}
|
||||
|
||||
char *
|
||||
safe_strdup(const char *str)
|
||||
{
|
||||
if (str == NULL)
|
||||
return NULL;
|
||||
|
||||
return strdup(str);
|
||||
}
|
||||
|
||||
|
||||
/* Key/value functions */
|
||||
struct keyval *
|
||||
|
||||
Reference in New Issue
Block a user