summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/map.c')
-rw-r--r--usr.sbin/smtpd/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/map.c b/usr.sbin/smtpd/map.c
index 1586a0c1062..4dc3dfff778 100644
--- a/usr.sbin/smtpd/map.c
+++ b/usr.sbin/smtpd/map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: map.c,v 1.15 2010/04/21 21:47:38 gilles Exp $ */
+/* $OpenBSD: map.c,v 1.16 2010/04/27 09:49:23 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -90,7 +90,7 @@ map_lookup(struct smtpd *env, objid_t mapid, char *key, enum map_kind kind)
goto end;
if (parser->extract != NULL) {
- ret = parser->extract(result, len);
+ ret = parser->extract(key, result, len);
free(result);
}