Lines Matching refs:line
4 * addresses (or network numbers), or on terminal line names in case of
57 char line[BUFSIZ];
66 * Process the table one line at a time and stop at the first match.
74 while (!match && fgets(line, sizeof(line), fp)) {
76 if (line[end = strlen(line) - 1] != '\n') {
77 syslog(LOG_ERR, "%s: line %d: missing newline or line too long",
81 if (line[0] == '#')
82 continue; /* comment line */
83 while (end > 0 && isspace(line[end - 1]))
85 line[end] = 0; /* strip trailing whitespace */
86 if (line[0] == 0) /* skip blank lines */
88 if (!(perm = strtok(line, fs))
92 syslog(LOG_ERR, "%s: line %d: bad field count", _PATH_LOGACCESS,
97 syslog(LOG_ERR, "%s: line %d: bad first field", _PATH_LOGACCESS,
108 return (match == 0 || (line[0] == '+'));