summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b855450)
raw | patch | inline | side by side (parent: b855450)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Fri, 18 Oct 2002 04:41:05 +0000 (04:41 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Fri, 18 Oct 2002 04:41:05 +0000 (04:41 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@140 f882894a-f735-0410-b71e-b25c423dba1c
plugins/utils.c | patch | blob | history |
diff --git a/plugins/utils.c b/plugins/utils.c
index 0d1729e0d7cba768414d5b4564be4504f6ceddc2..697b5a66867f397ad758df3e7adba435231638ac 100644 (file)
--- a/plugins/utils.c
+++ b/plugins/utils.c
strscat (char *dest, const char *src)
{
+ if (dest == NULL)
+ return src;
if (src != NULL)
asprintf (&dest, "%s%s", dest, src);