21 if (getln(buffer_1small,&line,&
match,
'\0') == -1)
22 logmsg(
WHO,111,FATAL,
"unable to read input: ");
26 if (buffer_flush(buffer_1small) == -1)
27 logmsg(
WHO,111,FATAL,
"unable to write output: ");
31 if (line.s[str_chr(line.s,
'\n')])
badformat();
32 if (line.s[line.len - 1] ==
' ')
badformat();
33 if (line.s[line.len - 1] ==
'\t')
badformat();
35 if ((line.s[0] ==
'.') || (line.s[0] ==
'/')) {
36 if (buffer_puts(buffer_1small,line.s) == -1)
37 logmsg(
WHO,111,FATAL,
"unable to write output: ");
38 if (buffer_puts(buffer_1small,
"\n") == -1)
39 logmsg(
WHO,111,FATAL,
"unable to write output: ");
42 if (line.s[0] ==
'&') {
44 if (buffer_puts(buffer_1small,line.s) == -1)
45 logmsg(
WHO,111,FATAL,
"unable to write output: ");
46 if (buffer_puts(buffer_1small,
"\n") == -1)
47 logmsg(
WHO,111,FATAL,
"unable to write output: ");