Lines Matching refs:line
99 * Write out the from line header for the letter
160 while ((n = getaline(line, sizeof (line), stdin)) > 0) {
161 last1c = line[n-1];
163 if (!wtmpf(line, n)) {
171 if ((hdrtyp = isheader(line, &ctf)) == FALSE) {
189 if (substr(line, "forwarded by") > -1) {
192 pickFrom(line);
222 /* suppress continuation line also */
227 oldn = n; /* remember if this line was suppressed */
228 if (n && !wtmpf(line, n)) {
231 if (!n) savehdrs(line, hdrtyp);
247 memcpy(buf, line, n);
260 (void) snprintf(line, sizeof (line), "%s \n",
262 if (!wtmpf(line, strlen(line))) {
268 (void) snprintf(line, sizeof (line), "%s \n",
270 if (!wtmpf(line, strlen(line))) {
276 (void) snprintf(line, sizeof (line), "%s \n",
278 if (!wtmpf(line, strlen(line))) {
286 if (n == 1 && last1c == '\n') { /* blank line -- suppress */
296 (void) snprintf(line, sizeof (line), "%s \n",
298 if (!wtmpf(line, strlen(line))) {
304 (void) snprintf(line, sizeof (line), "%s \n",
306 if (!wtmpf(line, strlen(line))) {
312 (void) snprintf(line, sizeof (line), "%s \n",
314 if (!wtmpf(line, strlen(line))) {
333 (void) snprintf(line, sizeof (line), "%s \n", header[H_MIMEVERS].tag);
334 if (!wtmpf(line, strlen(line))) {
338 savehdrs(line, H_MIMEVERS);
340 (void) snprintf(line, sizeof (line), "%s \n", header[H_CTYPE].tag);
341 if (!wtmpf(line, strlen(line))) {
345 savehdrs(line, H_CTYPE);
347 (void) snprintf(line, sizeof (line), "%s \n", header[H_CLEN].tag);
348 if (!wtmpf(line, strlen(line))) {
352 savehdrs(line, H_CLEN);
354 /* and a blank line */
365 * [This line should occur as the FIRST non-blank non-header line]
369 Dout(pn, 0, "found old-style UNDELIVERABLE line. dflag = 9\n");