blob: f3060bfba12448d43fde946a14b1498fe320096b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -urNad /home/ultrotter/docs/projects/deb/nagios/nagios-plugins-1.3.1.0/plugins/utils.c nagios-plugins-1.3.1.0/plugins/utils.c
--- /home/ultrotter/docs/projects/deb/nagios/nagios-plugins-1.3.1.0/plugins/utils.c 2003-04-23 06:57:08.000000000 +0200
+++ nagios-plugins-1.3.1.0/plugins/utils.c 2004-06-15 15:35:02.000000000 +0200
@@ -229,7 +229,7 @@
/* '..' and '.-' are not legal either */
while ((s1 = index (s1, '.'))) {
s1++;
- if (strspn (s1, "0123456789-.") == 1) {
+ if (strspn (s1, "-.") == 1) {
return FALSE;
}
}
|