X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fslocal.c;h=4a8875e7c2cbbe8054f97c82eb6fb284ea200139;hp=1396cc29e850b285bc3098fbe7b73776c774337f;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=38615191e71744b066425e0c44412b62dbe49cc2 diff --git a/uip/slocal.c b/uip/slocal.c index 1396cc2..4a8875e 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -959,7 +959,7 @@ logged_in (void) while ((utp = getutent()) != NULL) { if ( -#ifdef HAVE_UTMP_UT_TYPE +#ifdef HAVE_STRUCT_UTMP_UT_TYPE utp->ut_type == USER_PROCESS && #endif @@ -1361,11 +1361,11 @@ you_lose: /* return path for UUCP style addressing */ ep = strchr(++hp, '\n'); snprintf (buffer, sizeof(buffer), "Return-Path: %.*s!%.*s\n", - ep - hp, hp, cp - fp, fp); + (int)(ep - hp), hp, (int)(cp - fp), fp); } else { /* return path for standard domain addressing */ snprintf (buffer, sizeof(buffer), "Return-Path: %.*s\n", - cp - fp, fp); + (int)(cp - fp), fp); } /* Add Return-Path header to message */