X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fpicksbr.c;h=b13ea669d56f79a3eb16ea38c817fb330ff4141d;hp=88463edebf9b0fddf3e1838c687a0a5ee914828d;hb=8563731b02ce9d750806f6b1769af8b399d964e8;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/picksbr.c b/uip/picksbr.c index 88463ed..b13ea66 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -9,6 +9,17 @@ #include #include +#ifdef TIME_WITH_SYS_TIME +# include +# include +#else +# ifdef TM_IN_SYS_TIME +# include +# else +# include +# endif +#endif + static struct swit parswit[] = { #define PRAND 0 { "and", 0 }, @@ -641,14 +652,15 @@ plist ebp = ibuf + strlen (ibuf); } c = *p2++; - if (lf && c != '\n') + if (lf && c != '\n') { if (c != ' ' && c != '\t') { --p2; break; } else lf = 0; - if (c == '\n') + } + if (c == '\n') { if (body) break; else { @@ -659,6 +671,7 @@ plist lf++; c = ' '; } + } if (c && p1 < &linebuf[LBSIZE - 1]) *p1++ = c; }