summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2012-01-11 17:05:10 +0000
committerEric Faurot <eric@cvs.openbsd.org>2012-01-11 17:05:10 +0000
commitf5490d38f64e77049ea3205733035e5031ec23d6 (patch)
tree5ee0afdcfdb95cfa1e980da2d8bfd80a140de39d /usr.sbin
parent77aeb7d7bd6e784718d6c89a8cd9185f518e2a3b (diff)
fix typo
from Nathanael Rensen ok gilles@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/queue_fsqueue_ascii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/queue_fsqueue_ascii.c b/usr.sbin/smtpd/queue_fsqueue_ascii.c
index 80bb96a85ba..05102268e47 100644
--- a/usr.sbin/smtpd/queue_fsqueue_ascii.c
+++ b/usr.sbin/smtpd/queue_fsqueue_ascii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_fsqueue_ascii.c,v 1.7 2011/12/13 21:44:47 gilles Exp $ */
+/* $OpenBSD: queue_fsqueue_ascii.c,v 1.8 2012/01/11 17:05:09 eric Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -299,7 +299,7 @@ ascii_load_sockaddr(struct envelope *ep, char *buf)
if (inet_pton(AF_INET, buf, &ssin.sin_addr) != 1)
return 0;
ssin.sin_family = AF_INET;
- memcpy(&ep->ss, &ssin6, sizeof(ssin));
+ memcpy(&ep->ss, &ssin, sizeof(ssin));
ep->ss.ss_len = sizeof(struct sockaddr_in);
}
return 1;