Lines Matching defs:line
528 bool fullline = TRUE; /* current line is terminated */
529 bool prevfl; /* previous line was terminated */
530 char line[MAXLINE];
572 line[0] = '\0';
573 while (fgets(line, sizeof(line), stdin) != (char *)NULL)
578 prevfl = fullline; /* preserve state of previous line */
579 while (line[line_len] != '\n' && line_len < sizeof(line) - 2)
584 if (prevfl && lmtprcpts && line[0] == '.')
586 if (line[1] == '\n' ||
587 (line[1] == '\r' && line[2] == '\n'))
589 memcpy(line, line + 1, line_len);
593 /* Check to see if we have the full line from fgets() */
597 if (line[line_len - 1] == '\n')
600 line[line_len - 2] == '\r')
602 line[line_len - 2] = '\n';
603 line[line_len - 1] = '\0';
608 else if (line[line_len - 1] == '\r')
614 line[line_len - 1] = '\n';
624 if (prevfl && line[0] == '\n' && in_header_section) {
644 if (strncasecmp("Content-Length:", line, 15) == 0) {
648 content_length += strlen(line);
649 (void) fwrite(line, sizeof(char), line_len, fp);
680 if (!strchr(line, '\n')) {