-# test longer data lenght when reverse sending
+# test longer data length when reverse sending
use strict;
use warnings;
-# $OpenBSD: funcs.pl,v 1.33 2017/09/13 00:35:53 bluhm Exp $
+# $OpenBSD: funcs.pl,v 1.34 2017/11/27 16:53:04 sthen Exp $
# Copyright (c) 2010-2015 Alexander Bluhm <bluhm@openbsd.org>
#
sub write_lines {
my $self = shift;
- my ($lines, $lenght) = @_;
+ my ($lines, $length) = @_;
foreach (1..$lines) {
- write_chars($self, $lenght, " $_");
+ write_chars($self, $length, " $_");
}
}
sub write_lengths {
my $self = shift;
- my ($lenghts, $tail) = ref $_[0] ? @_ : [@_];
+ my ($lengths, $tail) = ref $_[0] ? @_ : [@_];
- write_chars($self, $lenghts, $tail);
+ write_chars($self, $lengths, $tail);
}
sub generate_chars {
-/* $OpenBSD: if_oce.c,v 1.99 2017/01/22 10:17:38 dlg Exp $ */
+/* $OpenBSD: if_oce.c,v 1.100 2017/11/27 16:53:04 sthen Exp $ */
/*
* Copyright (c) 2012 Mike Belopuhov
memcpy(payload, &mbx->pld.data, length);
} else
printf("%s: mailbox timeout, subsys %d op %d ver %d "
- "%spayload lenght %d\n", sc->sc_dev.dv_xname, subsys,
+ "%spayload length %d\n", sc->sc_dev.dv_xname, subsys,
opcode, version, epayload ? "ext " : "",
length);
return (err);
*
* The decision whether to drop the packet or not is made based
* on the queueing delay target of 5ms and on the current queue
- * lenght in bytes which shouldn't be less than the amount of data
+ * length in bytes which shouldn't be less than the amount of data
* that arrives in a typical interarrival time (MTU-sized packets
* arriving spaced by the amount of time it takes to send such a
* packet on the bottleneck).
-/* $OpenBSD: parse.h,v 1.8 2017/11/27 01:58:52 florian Exp $ */
+/* $OpenBSD: parse.h,v 1.9 2017/11/27 16:53:04 sthen Exp $ */
/*
* Copyright (c) 2016 Sebastian Benoit <benno@openbsd.org>
*
#include <sys/queue.h>
-#define AUTH_MAXLEN 120 /* max lenght of an authority_c name */
+#define AUTH_MAXLEN 120 /* max length of an authority_c name */
#define DOMAIN_MAXLEN 255 /* max len of a domain name (rfc2181) */
/*
-/* $Id: util.c,v 1.9 2017/01/24 13:32:55 jsing Exp $ */
+/* $Id: util.c,v 1.10 2017/11/27 16:53:04 sthen Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
/*
* Read a buffer from the sender.
- * This consists of two parts: the lenght of the buffer, and the buffer
+ * This consists of two parts: the length of the buffer, and the buffer
* itself.
* We allow the buffer to be binary, but NUL-terminate it anyway.
*/
-/* $OpenBSD: bgpctl.c,v 1.201 2017/10/16 08:39:16 job Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.202 2017/11/27 16:53:04 sthen Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
a = log_as(p->conf.remote_as);
alen = strlen(a);
- /* max displayed lenght of the peers name is 28 */
+ /* max displayed length of the peers name is 28 */
if (alen < 28) {
if (strlen(s) > 28 - alen)
s[28 - alen] = 0;