SCCS-vsn: usr.sbin/sendmail/src/map.c 8.44
SCCS-vsn: usr.sbin/sendmail/src/alias.c 8.36
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.132
SCCS-vsn: usr.sbin/sendmail/src/queue.c 8.63
SCCS-vsn: usr.sbin/sendmail/src/deliver.c 8.124
SCCS-vsn: usr.sbin/sendmail/src/util.c 8.50
SCCS-vsn: usr.sbin/sendmail/src/clock.c 8.10
SCCS-vsn: usr.sbin/sendmail/src/srvrsmtp.c 8.55
SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.69
SCCS-vsn: usr.sbin/sendmail/src/sendmail.h 8.89
SCCS-vsn: usr.sbin/sendmail/src/collect.c 8.27
SCCS-vsn: usr.sbin/sendmail/src/parseaddr.c 8.54
SCCS-vsn: usr.sbin/sendmail/src/main.c 8.84
SCCS-vsn: usr.sbin/sendmail/src/recipient.c 8.67
SCCS-vsn: usr.sbin/sendmail/src/usersmtp.c 8.36
SCCS-vsn: usr.sbin/sendmail/src/domain.c 8.31
16 files changed:
# include <pwd.h>
#ifndef lint
# include <pwd.h>
#ifndef lint
-static char sccsid[] = "@(#)alias.c 8.35 (Berkeley) %G%";
+static char sccsid[] = "@(#)alias.c 8.36 (Berkeley) %G%";
alias(a, sendq, aliaslevel, e)
register ADDRESS *a;
ADDRESS **sendq;
alias(a, sendq, aliaslevel, e)
register ADDRESS *a;
ADDRESS **sendq;
setalias(spec)
char *spec;
{
setalias(spec)
char *spec;
{
rebuildaliases(map, automatic)
register MAP *map;
bool automatic;
rebuildaliases(map, automatic)
register MAP *map;
bool automatic;
** Optionally, builds the .dir & .pag files.
*/
** Optionally, builds the .dir & .pag files.
*/
readaliases(map, af, announcestats, logstats)
register MAP *map;
FILE *af;
readaliases(map, af, announcestats, logstats)
register MAP *map;
FILE *af;
** New names are added to send queues.
*/
** New names are added to send queues.
*/
forward(user, sendq, aliaslevel, e)
ADDRESS *user;
ADDRESS **sendq;
forward(user, sendq, aliaslevel, e)
ADDRESS *user;
ADDRESS **sendq;
{
int err;
char buf[MAXPATHLEN+1];
{
int err;
char buf[MAXPATHLEN+1];
ep = strchr(pp, ':');
if (ep != NULL)
ep = strchr(pp, ':');
if (ep != NULL)
-static char sccsid[] = "@(#)clock.c 8.9 (Berkeley) %G%";
+static char sccsid[] = "@(#)clock.c 8.10 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
EVENT *
setevent(intvl, func, arg)
time_t intvl;
EVENT *
setevent(intvl, func, arg)
time_t intvl;
int arg;
{
register EVENT **evp;
int arg;
{
register EVENT **evp;
** arranges for event ev to not happen.
*/
** arranges for event ev to not happen.
*/
clrevent(ev)
register EVENT *ev;
{
clrevent(ev)
register EVENT *ev;
{
while ((ev = EventQueue) != NULL &&
(ev->ev_time <= now || ev->ev_pid != mypid))
{
while ((ev = EventQueue) != NULL &&
(ev->ev_time <= now || ev->ev_pid != mypid))
{
*/
static bool SleepDone;
*/
static bool SleepDone;
#ifndef SLEEP_T
# define SLEEP_T unsigned int
#ifndef SLEEP_T
# define SLEEP_T unsigned int
endsleep()
{
SleepDone = TRUE;
endsleep()
{
SleepDone = TRUE;
-static char sccsid[] = "@(#)collect.c 8.26 (Berkeley) %G%";
+static char sccsid[] = "@(#)collect.c 8.27 (Berkeley) %G%";
#endif /* not lint */
# include <errno.h>
#endif /* not lint */
# include <errno.h>
bool CollectErrno;
static jmp_buf CtxCollectTimeout;
bool CollectErrno;
static jmp_buf CtxCollectTimeout;
-static int collecttimeout();
+static void collecttimeout();
static bool CollectProgress;
static EVENT *CollectTimeout;
static bool CollectProgress;
static EVENT *CollectTimeout;
#define MS_BODY 2 /* reading message body */
#define MS_BODY 2 /* reading message body */
maketemp(from)
char *from;
{
maketemp(from)
char *from;
{
bool ignrdot = smtpmode ? FALSE : IgnrDot;
time_t dbto = smtpmode ? TimeOuts.to_datablock : 0;
register char *bp;
bool ignrdot = smtpmode ? FALSE : IgnrDot;
time_t dbto = smtpmode ? TimeOuts.to_datablock : 0;
register char *bp;
bool inputerr = FALSE;
bool headeronly = FALSE;
char *buf;
bool inputerr = FALSE;
bool headeronly = FALSE;
char *buf;
char peekbuf[8];
char bufbuf[MAXLINE];
extern bool isheader();
char peekbuf[8];
char bufbuf[MAXLINE];
extern bool isheader();
+ extern void eatheader();
+ extern void tferror();
extern char *index();
CollectErrorMessage = NULL;
extern char *index();
CollectErrorMessage = NULL;
istate, mstate, buf);
switch (mstate)
{
istate, mstate, buf);
switch (mstate)
{
+ extern int chompheader();
+
case MS_UFROM:
mstate = MS_HEADER;
if (strncmp(buf, "From ", 5) == 0)
{
case MS_UFROM:
mstate = MS_HEADER;
if (strncmp(buf, "From ", 5) == 0)
{
+ extern void eatfrom();
+
bp = buf;
eatfrom(buf, e);
continue;
bp = buf;
eatfrom(buf, e);
continue;
/* collect statistics */
if (OpMode != MD_VERIFY)
/* collect statistics */
if (OpMode != MD_VERIFY)
+ {
+ extern void markstats();
+
markstats(e, (ADDRESS *) NULL);
markstats(e, (ADDRESS *) NULL);
/*
** Add an Apparently-To: line if we have no recipient lines.
/*
** Add an Apparently-To: line if we have no recipient lines.
/* that or reject the message.... */
for (q = e->e_sendqueue; q != NULL; q = q->q_next)
{
/* that or reject the message.... */
for (q = e->e_sendqueue; q != NULL; q = q->q_next)
{
+ extern void addheader();
+
if (q->q_alias != NULL)
continue;
if (tTd(30, 3))
if (q->q_alias != NULL)
continue;
if (tTd(30, 3))
collecttimeout(timeout)
time_t timeout;
{
collecttimeout(timeout)
time_t timeout;
{
** Arranges for following output to go elsewhere.
*/
** Arranges for following output to go elsewhere.
*/
tferror(tf, e)
FILE *tf;
register ENVELOPE *e;
tferror(tf, e)
FILE *tf;
register ENVELOPE *e;
eatfrom(fm, e)
char *fm;
register ENVELOPE *e;
eatfrom(fm, e)
char *fm;
register ENVELOPE *e;
-static char sccsid[] = "@(#)conf.c 8.131 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c 8.132 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
#define DAYS * 24 * 60 * 60
#define DAYS * 24 * 60 * 60
setdefaults(e)
register ENVELOPE *e;
{
int i;
setdefaults(e)
register ENVELOPE *e;
{
int i;
+ extern void inittimeouts();
+ extern void setdefuser();
+ extern void setupmaps();
+ extern void setupmailers();
SpaceSub = ' '; /* option B */
QueueLA = 8; /* option x */
SpaceSub = ' '; /* option B */
QueueLA = 8; /* option x */
** SETDEFUSER -- set/reset DefUser using DefUid (for initgroups())
*/
** SETDEFUSER -- set/reset DefUser using DefUid (for initgroups())
*/
setdefuser()
{
struct passwd *defpwent;
setdefuser()
{
struct passwd *defpwent;
** SETUPMAILERS -- initialize default mailers
*/
** SETUPMAILERS -- initialize default mailers
*/
setupmailers()
{
char buf[100];
setupmailers()
{
char buf[100];
+ extern void makemailer();
strcpy(buf, "prog, P=/bin/sh, F=lsoD, A=sh -c $u");
makemailer(buf);
strcpy(buf, "prog, P=/bin/sh, F=lsoD, A=sh -c $u");
makemailer(buf);
s->s_mapclass.map_store = store; \
}
s->s_mapclass.map_store = store; \
}
setupmaps()
{
register STAB *s;
setupmaps()
{
register STAB *s;
** none (unless you include the usrerr stuff)
*/
** none (unless you include the usrerr stuff)
*/
checkcompat(to, e)
register ADDRESS *to;
register ENVELOPE *e;
checkcompat(to, e)
register ADDRESS *to;
register ENVELOPE *e;
** Arranges that signals are held.
*/
** Arranges that signals are held.
*/
** Arranges that signals are released.
*/
** Arranges that signals are released.
*/
# include <compat.h>
#endif
# include <compat.h>
#endif
init_md(argc, argv)
int argc;
char **argv;
init_md(argc, argv)
int argc;
char **argv;
char ProcTitleBuf[MAXLINE];
/*VARARGS1*/
char ProcTitleBuf[MAXLINE];
/*VARARGS1*/
# ifdef __STDC__
setproctitle(char *fmt, ...)
# else
# ifdef __STDC__
setproctitle(char *fmt, ...)
# else
# if SFS_TYPE == SFS_USTAT
if (stat(dir, &statbuf) == 0 && ustat(statbuf.st_dev, &fs) == 0)
# if SFS_TYPE == SFS_USTAT
if (stat(dir, &statbuf) == 0 && ustat(statbuf.st_dev, &fs) == 0)
# include <sys/resource.h>
#endif
# include <sys/resource.h>
#endif
resetlimits()
{
#if HASSETRLIMIT
resetlimits()
{
#if HASSETRLIMIT
#ifndef lint
#ifdef DAEMON
#ifndef lint
#ifdef DAEMON
-static char sccsid[] = "@(#)daemon.c 8.48.1.2 (Berkeley) %G% (with daemon mode)";
+static char sccsid[] = "@(#)daemon.c 8.69 (Berkeley) %G% (with daemon mode)";
-static char sccsid[] = "@(#)daemon.c 8.48.1.2 (Berkeley) %G% (without daemon mode)";
+static char sccsid[] = "@(#)daemon.c 8.69 (Berkeley) %G% (without daemon mode)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
int TcpRcvBufferSize = 0; /* size of TCP receive buffer */
int TcpSndBufferSize = 0; /* size of TCP send buffer */
int TcpRcvBufferSize = 0; /* size of TCP receive buffer */
int TcpSndBufferSize = 0; /* size of TCP send buffer */
register MCI *mci;
bool usesecureport;
{
register MCI *mci;
bool usesecureport;
{
+ register int i = 0;
+ register int s;
register struct hostent *hp = (struct hostent *)NULL;
SOCKADDR addr;
int sav_errno;
register struct hostent *hp = (struct hostent *)NULL;
SOCKADDR addr;
int sav_errno;
/* couldn't connect.... figure out why */
sav_errno = errno;
(void) close(s);
/* couldn't connect.... figure out why */
sav_errno = errno;
(void) close(s);
- if (hp && hp->h_addr_list[i])
+ if (hp != NULL && hp->h_addr_list[i])
{
if (tTd(16, 1))
printf("Connect failed (%s); trying new address....\n",
{
if (tTd(16, 1))
printf("Connect failed (%s); trying new address....\n",
!getcanonname(hostbuf, size, TRUE) &&
h_errno == TRY_AGAIN)
{
!getcanonname(hostbuf, size, TRUE) &&
h_errno == TRY_AGAIN)
{
/* try twice in case name server not yet started up */
message("My unqualifed host name (%s) unknown to DNS; sleeping for retry",
hostbuf);
/* try twice in case name server not yet started up */
message("My unqualifed host name (%s) unknown to DNS; sleeping for retry",
hostbuf);
static jmp_buf CtxAuthTimeout;
static jmp_buf CtxAuthTimeout;
authtimeout()
{
longjmp(CtxAuthTimeout, 1);
authtimeout()
{
longjmp(CtxAuthTimeout, 1);
register struct hostent *hp;
struct in_addr in_addr;
char *cp;
register struct hostent *hp;
struct in_addr in_addr;
char *cp;
register STAB *s;
char hbuf[MAXNAME];
extern struct hostent *gethostbyaddr();
register STAB *s;
char hbuf[MAXNAME];
extern struct hostent *gethostbyaddr();
-static char sccsid[] = "@(#)deliver.c 8.123 (Berkeley) %G%";
+static char sccsid[] = "@(#)deliver.c 8.124 (Berkeley) %G%";
#endif /* not lint */
#include "sendmail.h"
#endif /* not lint */
#include "sendmail.h"
** appropriate action.
*/
** appropriate action.
*/
sendall(e, mode)
ENVELOPE *e;
char mode;
sendall(e, mode)
ENVELOPE *e;
char mode;
bool announcequeueup;
bool oldverbose = Verbose;
int pid;
bool announcequeueup;
bool oldverbose = Verbose;
int pid;
+ extern void sendenvelope();
int pid;
#ifdef LOCKF
struct flock lfd;
int pid;
#ifdef LOCKF
struct flock lfd;
sendenvelope(e, mode)
register ENVELOPE *e;
char mode;
{
register ADDRESS *q;
sendenvelope(e, mode)
register ENVELOPE *e;
char mode;
{
register ADDRESS *q;
DOFORK(fork);
return (pid);
DOFORK(fork);
return (pid);
** The standard input is passed off to someone.
*/
** The standard input is passed off to someone.
*/
deliver(e, firstto)
register ENVELOPE *e;
ADDRESS *firstto;
deliver(e, firstto)
register ENVELOPE *e;
ADDRESS *firstto;
register MCI *mci;
register ADDRESS *to = firstto;
bool clever = FALSE; /* running user smtp to this mailer */
register MCI *mci;
register ADDRESS *to = firstto;
bool clever = FALSE; /* running user smtp to this mailer */
- ADDRESS *tochain = NULL; /* chain of users in this mailer call */
+ ADDRESS *tochain = NULL; /* users chain in this mailer call */
int rcode; /* response code */
char *firstsig; /* signature of firstto */
int rcode; /* response code */
char *firstsig; /* signature of firstto */
char *curhost;
time_t xstart;
int mpvect[2];
char *curhost;
time_t xstart;
int mpvect[2];
{
#ifdef DAEMON
register int i;
{
#ifdef DAEMON
register int i;
+ register u_short port = 0;
if (pv[0] == NULL || pv[1] == NULL || pv[1][0] == '\0')
{
if (pv[0] == NULL || pv[1] == NULL || pv[1][0] == '\0')
{
}
if (pv[2] != NULL)
port = atoi(pv[2]);
}
if (pv[2] != NULL)
port = atoi(pv[2]);
tryhost:
while (*curhost != '\0')
{
tryhost:
while (*curhost != '\0')
{
register int c;
int padc;
char *buflim;
register int c;
int padc;
char *buflim;
char peekbuf[10];
/* we can pass it through unmodified */
char peekbuf[10];
/* we can pass it through unmodified */
register ENVELOPE *e;
{
register FILE *f;
register ENVELOPE *e;
{
register FILE *f;
int mode;
if (tTd(11, 1))
int mode;
if (tTd(11, 1))
auto int rcode;
char *hp;
char *endp;
auto int rcode;
char *hp;
char *endp;
+ int oldoptions = _res.options;
char *mxhosts[MAXMXHOSTS + 1];
#endif
char *mxhosts[MAXMXHOSTS + 1];
#endif
#if NAMED_BIND
if (ConfigLevel < 2)
#if NAMED_BIND
if (ConfigLevel < 2)
- {
- oldoptions = _res.options;
_res.options &= ~(RES_DEFNAMES | RES_DNSRCH); /* XXX */
_res.options &= ~(RES_DEFNAMES | RES_DNSRCH); /* XXX */
for (hp = host; hp != NULL; hp = endp)
{
for (hp = host; hp != NULL; hp = endp)
{
mci = mci_get(hp, m);
mci->mci_exitstat = rcode;
mci->mci_errno = errno;
mci = mci_get(hp, m);
mci->mci_exitstat = rcode;
mci->mci_errno = errno;
mci->mci_herrno = h_errno;
mci->mci_herrno = h_errno;
/* and return the original host name as the signature */
nmx = 1;
/* and return the original host name as the signature */
nmx = 1;
querybuf answer;
int ancount, qdcount, buflen;
bool seenlocal = FALSE;
querybuf answer;
int ancount, qdcount, buflen;
bool seenlocal = FALSE;
- u_short pref, localpref, type;
+ u_short pref, type;
+ u_short localpref = 256;
char *fallbackMX = FallBackMX;
static bool firsttime = TRUE;
bool trycanon = FALSE;
char *fallbackMX = FallBackMX;
static bool firsttime = TRUE;
bool trycanon = FALSE;
char **dp;
char *mxmatch;
bool amatch;
char **dp;
char *mxmatch;
bool amatch;
int qtype;
int loopcnt;
char *xp;
int qtype;
int loopcnt;
char *xp;
+ register char *p = NULL;
char buf[MAXLINE];
static char hbuf[MAXDNAME];
char buf[MAXLINE];
static char hbuf[MAXDNAME];
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)main.c 8.83 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 8.84 (Berkeley) %G%";
#endif /* not lint */
#define _DEFINE
#endif /* not lint */
#define _DEFINE
register char *p;
char **av;
char *locname;
register char *p;
char **av;
char *locname;
extern char Version[];
char *ep, *from;
typedef int (*fnptr)();
extern char Version[];
char *ep, *from;
typedef int (*fnptr)();
-static char sccsid[] = "@(#)map.c 8.43 (Berkeley) %G%";
+static char sccsid[] = "@(#)map.c 8.44 (Berkeley) %G%";
#endif /* not lint */
#include "sendmail.h"
#endif /* not lint */
#include "sendmail.h"
return map_rewrite(map, key, strlen(key), NULL);
else
{
return map_rewrite(map, key, strlen(key), NULL);
else
{
char buf[30];
switch (map->map_valcolno)
char buf[30];
switch (map->map_valcolno)
-static char sccsid[] = "@(#)parseaddr.c 8.53 (Berkeley) %G%";
+static char sccsid[] = "@(#)parseaddr.c 8.54 (Berkeley) %G%";
#endif /* not lint */
#include "sendmail.h"
#endif /* not lint */
#include "sendmail.h"
register char *addr;
char *delimptr;
{
register char *addr;
char *delimptr;
{
void
printaddr(a, follow)
register ADDRESS *a;
void
printaddr(a, follow)
register ADDRESS *a;
#ifndef lint
#ifdef QUEUE
#ifndef lint
#ifdef QUEUE
-static char sccsid[] = "@(#)queue.c 8.41.1.1 (Berkeley) %G% (with queueing)";
+static char sccsid[] = "@(#)queue.c 8.63 (Berkeley) %G% (with queueing)";
-static char sccsid[] = "@(#)queue.c 8.41.1.1 (Berkeley) %G% (without queueing)";
+static char sccsid[] = "@(#)queue.c 8.63 (Berkeley) %G% (without queueing)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
ENVELOPE QueueEnvelope; /* the queue run envelope */
ENVELOPE QueueEnvelope; /* the queue run envelope */
runqueue(forkflag)
bool forkflag;
{
runqueue(forkflag)
bool forkflag;
{
-static char sccsid[] = "@(#)recipient.c 8.66 (Berkeley) %G%";
+static char sccsid[] = "@(#)recipient.c 8.67 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
*/
static jmp_buf CtxIncludeTimeout;
*/
static jmp_buf CtxIncludeTimeout;
-static int includetimeout();
+static void includetimeout();
#ifndef S_IWOTH
# define S_IWOTH (S_IWRITE >> 6)
#ifndef S_IWOTH
# define S_IWOTH (S_IWRITE >> 6)
int aliaslevel;
ENVELOPE *e;
{
int aliaslevel;
ENVELOPE *e;
{
- register FILE *fp = NULL;
char *oldto = e->e_to;
char *oldfilename = FileName;
int oldlinenumber = LineNumber;
char *oldto = e->e_to;
char *oldfilename = FileName;
int oldlinenumber = LineNumber;
includetimeout()
{
longjmp(CtxIncludeTimeout, 1);
includetimeout()
{
longjmp(CtxIncludeTimeout, 1);
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)sendmail.h 8.88 (Berkeley) %G%
+ * @(#)sendmail.h 8.89 (Berkeley) %G%
# ifdef _DEFINE
# define EXTERN
# ifndef lint
# ifdef _DEFINE
# define EXTERN
# ifndef lint
-static char SmailSccsId[] = "@(#)sendmail.h 8.88 %G%";
+static char SmailSccsId[] = "@(#)sendmail.h 8.89 %G%";
# endif
# else /* _DEFINE */
# define EXTERN extern
# endif
# else /* _DEFINE */
# define EXTERN extern
struct event
{
time_t ev_time; /* time of the function call */
struct event
{
time_t ev_time; /* time of the function call */
- int (*ev_func)__P((int));
+ void (*ev_func)__P((int));
/* function to call */
int ev_arg; /* argument to ev_func */
int ev_pid; /* pid that set this event */
/* function to call */
int ev_arg; /* argument to ev_func */
int ev_pid; /* pid that set this event */
extern char *xalloc __P((int));
extern bool sameaddr __P((ADDRESS *, ADDRESS *));
extern FILE *dfopen __P((char *, int, int));
extern char *xalloc __P((int));
extern bool sameaddr __P((ADDRESS *, ADDRESS *));
extern FILE *dfopen __P((char *, int, int));
-extern EVENT *setevent __P((time_t, int(*)(), int));
+extern EVENT *setevent __P((time_t, void(*)(), int));
extern char *sfgets __P((char *, int, FILE *, time_t, char *));
extern char *queuename __P((ENVELOPE *, int));
extern time_t curtime __P(());
extern char *sfgets __P((char *, int, FILE *, time_t, char *));
extern char *queuename __P((ENVELOPE *, int));
extern time_t curtime __P(());
extern int sendtolist __P((char *, ADDRESS *, ADDRESS **, int, ENVELOPE *));
extern bool wordinclass __P((char *, char));
extern char *denlstring __P((char *));
extern int sendtolist __P((char *, ADDRESS *, ADDRESS **, int, ENVELOPE *));
extern bool wordinclass __P((char *, char));
extern char *denlstring __P((char *));
+extern void printaddr __P((ADDRESS *, bool));
+extern void makelower __P((char *));
+extern void rebuildaliases __P((MAP *, bool));
+extern void readaliases __P((MAP *, FILE *, bool, bool));
+extern void finis __P(());
+extern void clrevent __P((EVENT *));
+extern void setsender __P((char *, ENVELOPE *, char **, bool));
/* ellipsis is a different case though */
#ifdef __STDC__
/* ellipsis is a different case though */
#ifdef __STDC__
-static char sccsid[] = "@(#)srvrsmtp.c 8.37.1.1 (Berkeley) %G% (with SMTP)";
+static char sccsid[] = "@(#)srvrsmtp.c 8.55 (Berkeley) %G% (with SMTP)";
-static char sccsid[] = "@(#)srvrsmtp.c 8.37.1.1 (Berkeley) %G% (without SMTP)";
+static char sccsid[] = "@(#)srvrsmtp.c 8.55 (Berkeley) %G% (without SMTP)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
-static char sccsid[] = "@(#)usersmtp.c 8.35 (Berkeley) %G% (with SMTP)";
+static char sccsid[] = "@(#)usersmtp.c 8.36 (Berkeley) %G% (with SMTP)";
-static char sccsid[] = "@(#)usersmtp.c 8.35 (Berkeley) %G% (without SMTP)";
+static char sccsid[] = "@(#)usersmtp.c 8.36 (Berkeley) %G% (without SMTP)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
*/
static jmp_buf CtxDataTimeout;
*/
static jmp_buf CtxDataTimeout;
-static int datatimeout();
+static void datatimeout();
smtpdata(m, mci, e)
struct mailer *m;
smtpdata(m, mci, e)
struct mailer *m;
datatimeout()
{
longjmp(CtxDataTimeout, 1);
datatimeout()
{
longjmp(CtxDataTimeout, 1);
-static char sccsid[] = "@(#)util.c 8.49 (Berkeley) %G%";
+static char sccsid[] = "@(#)util.c 8.50 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
makelower(p)
register char *p;
{
makelower(p)
register char *p;
{
*/
static jmp_buf CtxReadTimeout;
*/
static jmp_buf CtxReadTimeout;
-static int readtimeout();
+static void readtimeout();
char *
sfgets(buf, siz, fp, timeout, during)
char *
sfgets(buf, siz, fp, timeout, during)
readtimeout(timeout)
time_t timeout;
{
readtimeout(timeout)
time_t timeout;
{