diff options
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r-- | plugins/check_snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index dcb6e68..e22d8a0 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -201,7 +201,7 @@ main (int argc, char **argv) | |||
201 | ptr = strpbrk (ptr, "\n"); | 201 | ptr = strpbrk (ptr, "\n"); |
202 | } | 202 | } |
203 | if (ptr && strstr (ptr, delimiter) == NULL) { | 203 | if (ptr && strstr (ptr, delimiter) == NULL) { |
204 | response = strscat (response, ptr); | 204 | asprintf (&response, "%s%s", response, ptr); |
205 | ptr = NULL; | 205 | ptr = NULL; |
206 | } | 206 | } |
207 | } | 207 | } |