summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/utils.c2
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 *
416strscat (char *dest, const char *src) 416strscat (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