summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index f206163..ae4123b 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -168,8 +168,8 @@ main (int argc, char **argv)
168 temp_buffer++; 168 temp_buffer++;
169 169
170 /* Strip leading spaces */ 170 /* Strip leading spaces */
171 for (; *temp_buffer != '\0' && *temp_buffer == ' '; temp_buffer++) 171 while (*temp_buffer == ' ')
172 /* NOOP */; 172 temp_buffer++;
173 173
174 strip(temp_buffer); 174 strip(temp_buffer);
175 if (temp_buffer==NULL || strlen(temp_buffer)==0) { 175 if (temp_buffer==NULL || strlen(temp_buffer)==0) {