diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/utils.c b/plugins/utils.c index 0d1729e0..697b5a66 100644 --- a/plugins/utils.c +++ b/plugins/utils.c | |||
@@ -416,6 +416,8 @@ char * | |||
416 | strscat (char *dest, const char *src) | 416 | strscat (char *dest, const char *src) |
417 | { | 417 | { |
418 | 418 | ||
419 | if (dest == NULL) | ||
420 | return src; | ||
419 | if (src != NULL) | 421 | if (src != NULL) |
420 | asprintf (&dest, "%s%s", dest, src); | 422 | asprintf (&dest, "%s%s", dest, src); |
421 | 423 | ||