aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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 *
strscat (char *dest, const char *src)
{
+ if (dest == NULL)
+ return src;
if (src != NULL)
asprintf (&dest, "%s%s", dest, src);