summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2014-05-05 08:23:57 +0000
committerblambert <blambert@openbsd.org>2014-05-05 08:23:57 +0000
commit1c9ff2fdae0ff94d4427525ebeb7011351917ddc (patch)
treecbf65e03740accabbc9d8402c43d3efac1133a9a
parentZap extra whitespace. (diff)
downloadwireguard-openbsd-1c9ff2fdae0ff94d4427525ebeb7011351917ddc.tar.xz
wireguard-openbsd-1c9ff2fdae0ff94d4427525ebeb7011351917ddc.zip
change surprisingly consistent mispelling of length ("lenght")
no change in md5 of resulting object file ok markus@, reyk@
-rw-r--r--sbin/iked/pfkey.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/iked/pfkey.c b/sbin/iked/pfkey.c
index 69c76a8b7ca..a959660cbeb 100644
--- a/sbin/iked/pfkey.c
+++ b/sbin/iked/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.30 2014/04/25 09:41:21 jsg Exp $ */
+/* $OpenBSD: pfkey.c,v 1.31 2014/05/05 08:23:57 blambert Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -56,7 +56,7 @@ struct pfkey_message {
SIMPLEQ_ENTRY(pfkey_message)
pm_entry;
u_int8_t *pm_data;
- ssize_t pm_lenght;
+ ssize_t pm_length;
};
SIMPLEQ_HEAD(, pfkey_message) pfkey_postponed =
SIMPLEQ_HEAD_INITIALIZER(pfkey_postponed);
@@ -1127,7 +1127,7 @@ pfkey_reply(int sd, u_int8_t **datap, ssize_t *lenp)
return (-1);
}
pm->pm_data = data;
- pm->pm_lenght = len;
+ pm->pm_length = len;
SIMPLEQ_INSERT_TAIL(&pfkey_postponed, pm, pm_entry);
evtimer_add(&pfkey_timer_ev, &pfkey_timer_tv);
}
@@ -1485,7 +1485,7 @@ pfkey_dispatch(int sd, short event, void *arg)
}
pm.pm_data = data;
- pm.pm_lenght = len;
+ pm.pm_length = len;
pfkey_process(env, &pm);
free(data);
@@ -1526,7 +1526,7 @@ pfkey_process(struct iked *env, struct pfkey_message *pm)
ssize_t rlen;
const char *errmsg = NULL;
u_int8_t *data = pm->pm_data;
- ssize_t len = pm->pm_lenght;
+ ssize_t len = pm->pm_length;
size_t slen;
if (!env || !data || !len)