| 67 | /* Find the end of a value string */ |
| 68 | |
| 69 | static char *find_value_end(char *ptr) |
| 70 | { |
| 71 | while (*ptr && !isspace((int)*ptr)) |
| 72 | { |
| 73 | if (*ptr == '"') |
| 74 | { |
| 75 | do ptr++; while (*ptr && *ptr != '"'); |
| 76 | if (*ptr) ptr++; |
| 77 | } |
| 78 | else |
| 79 | { |
| 80 | do ptr++; while (*ptr && !isspace((int)*ptr) && *ptr != '"'); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | return ptr; |
| 85 | } |
| 86 | |
| 87 | /* Read the next line from the configuration file */ |
| 88 |