Disabled layer2-hold from CCITT#5 interfaces
[lcr.git] / apppbx.cpp
index aaa02cb..fff80ce 100644 (file)
@@ -3509,7 +3509,7 @@ int match_list(char *list, char *item)
 
        while(42) {
                /* eliminate white spaces */
-               while (*list <= ' ')
+               while (*list > '\0' && *list <= ' ')
                        list++;
                if (*list == ',') {
                        list++;