summaryrefslogtreecommitdiff
blob: 776d69ed825d0a80621461e8d6082d93ccb0dddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/glob.c
+++ b/src/glob.c
@@ -48,7 +48,7 @@
 
 	switch (*pat)
 	{
-	    case NULL:	// pattern at end
+	    case '\0':	// pattern at end
 		return (!*str); // String at end ?
 
 	    case '*':  // match all