summaryrefslogtreecommitdiffstats
path: root/plugins/check_snmp.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-08 05:09:40 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-08 05:09:40 +0000
commita9f992033fc32c0cca125e80d3d96aacfc78b802 (patch)
treebad34ea7077716b4b074ee66ba3259097a4f3108 /plugins/check_snmp.c
parent65ca899d2c98b6342783922a5709c4b61e6b2b1f (diff)
downloadmonitoring-plugins-a9f992033fc32c0cca125e80d3d96aacfc78b802.tar.gz
fix a variety of compiler warnings about qualifier discards and other pedantic stuff
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@663 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r--plugins/check_snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index dcb6e68a..e22d8a0b 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 }