diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-03-04 00:00:41 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-03-04 00:00:41 +0000 |
commit | 49759429618e40886a408ad2706abbed052db3fe (patch) | |
tree | 0b90faf9b25e93d634cbd9af9cbddc6db9666950 /usr.sbin/smtpd/smtpd.c | |
parent | 14062b2781531b3796d251b9ff8835ab2ee48fd7 (diff) |
plug a memory leak, remove lka session from the the lka session tree when
we are done expanding aliases/forwards, and cleanup a bit the expansion
code so that I can soon remove some of the duplication.
Diffstat (limited to 'usr.sbin/smtpd/smtpd.c')
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index 0c8c3281427..98b4bdade42 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.40 2009/03/03 23:23:52 gilles Exp $ */ +/* $OpenBSD: smtpd.c,v 1.41 2009/03/04 00:00:40 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -200,7 +200,7 @@ parent_dispatch_lka(int fd, short event, void *p) if (ret == -1) if (errno == ENOENT) fwreq->pw_name[0] = '\0'; - log_debug("parent will return fd %d", fd); + log_debug("parent will return fd %d", ret); imsg_compose(ibuf, IMSG_PARENT_FORWARD_OPEN, 0, 0, ret, fwreq, sizeof(*fwreq)); break; } |