X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsendsbr.c;h=04d6ea92245cdfd7a5563101ee0dc2f10d44aa15;hb=c3cf229baf2020da002739bfb662c2c37cc61ab7;hp=f0c84f5e977bb1ae1c2c4e5f3ad57cb9d4921667;hpb=f475d48680eb8bb0b6543efab9057eba2773666e;p=mmh diff --git a/uip/sendsbr.c b/uip/sendsbr.c index f0c84f5..04d6ea9 100644 --- a/uip/sendsbr.c +++ b/uip/sendsbr.c @@ -9,23 +9,17 @@ #include #include -#include +#include #include #include #include #include #include -#ifdef TIME_WITH_SYS_TIME +#ifdef HAVE_SYS_TIME_H # include -# include -#else -# ifdef TM_IN_SYS_TIME -# include -# else -# include -# endif #endif +#include int debugsw = 0; /* global */ int forwsw = 1; @@ -116,7 +110,7 @@ sendsbr (char **vec, int vecp, char *drft, struct stat *st, int rename_drft, cha } done=armed_done; - switch (setjmp (env)) { + switch (m_setjmp (env)) { case OK: /* * If given -push and -unique (which is undocumented), then @@ -675,7 +669,7 @@ splitmsg (char **vec, int vecp, char *drft, struct stat *st, int delay) time (&clock); snprintf (msgid, sizeof(msgid), "<%d.%ld@%s>", - (int) getpid(), (long) clock, LocalName()); + (int) getpid(), (long) clock, LocalName(1)); fseek (in, start, SEEK_SET); for (partno = 1; partno <= nparts; partno++) {