diff options
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -51,6 +51,13 @@ init_openssl (void) // --- To be moved to liberty -------------------------------------------------- +static void +cstr_set (char **s, char *new) +{ + free (*s); + *s = new; +} + static ssize_t strv_find (const struct strv *v, const char *s) { |