From 5dbe86aaf67d88aef5e841a529af534a591d649e Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 28 Feb 2018 04:06:43 +0000 Subject: [PATCH] spelling: length --- src/Cedar/winpcap/Packet32.h | 2 +- src/Cedar/winpcap/remote-ext.h | 2 +- src/Mayaqua/Network.c | 2 +- src/See/Packet32.h | 2 +- src/See/jitter.c | 4 ++-- src/SeeDll/Packet32.h | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Cedar/winpcap/Packet32.h b/src/Cedar/winpcap/Packet32.h index 43a7bac3..9ec26d97 100644 --- a/src/Cedar/winpcap/Packet32.h +++ b/src/Cedar/winpcap/Packet32.h @@ -306,7 +306,7 @@ struct _PACKET_OID_DATA { ULONG Oid; ///< OID code. See the Microsoft DDK documentation or the file ntddndis.h ///< for a complete list of valid codes. ULONG Length; ///< Length of the data field - UCHAR Data[1]; ///< variable-lenght field that contains the information passed to or received + UCHAR Data[1]; ///< variable-length field that contains the information passed to or received ///< from the adapter. }; typedef struct _PACKET_OID_DATA PACKET_OID_DATA, *PPACKET_OID_DATA; diff --git a/src/Cedar/winpcap/remote-ext.h b/src/Cedar/winpcap/remote-ext.h index 96957007..65532fe7 100644 --- a/src/Cedar/winpcap/remote-ext.h +++ b/src/Cedar/winpcap/remote-ext.h @@ -371,7 +371,7 @@ struct pcap_samp -//! Maximum lenght of an host name (needed for the RPCAP active mode) +//! Maximum length of an host name (needed for the RPCAP active mode) #define RPCAP_HOSTLIST_SIZE 1024 diff --git a/src/Mayaqua/Network.c b/src/Mayaqua/Network.c index e4e74a0f..60de885c 100644 --- a/src/Mayaqua/Network.c +++ b/src/Mayaqua/Network.c @@ -22144,7 +22144,7 @@ bool PostHttp(SOCK *s, HTTP_HEADER *header, void *post_data, UINT post_size) return false; } - // Check whether the Content-Lentgh exists? + // Check whether the Content-Length exists? if (GetHttpValue(header, "Content-Length") == NULL) { char tmp[MAX_SIZE]; diff --git a/src/See/Packet32.h b/src/See/Packet32.h index 43a7bac3..9ec26d97 100644 --- a/src/See/Packet32.h +++ b/src/See/Packet32.h @@ -306,7 +306,7 @@ struct _PACKET_OID_DATA { ULONG Oid; ///< OID code. See the Microsoft DDK documentation or the file ntddndis.h ///< for a complete list of valid codes. ULONG Length; ///< Length of the data field - UCHAR Data[1]; ///< variable-lenght field that contains the information passed to or received + UCHAR Data[1]; ///< variable-length field that contains the information passed to or received ///< from the adapter. }; typedef struct _PACKET_OID_DATA PACKET_OID_DATA, *PPACKET_OID_DATA; diff --git a/src/See/jitter.c b/src/See/jitter.c index b3bf8cb4..1b0a0ae5 100644 --- a/src/See/jitter.c +++ b/src/See/jitter.c @@ -45,7 +45,7 @@ // // emit routine to update the jump table // -void emit_lenght(binary_stream *stream, ULONG value, UINT len) +void emit_length(binary_stream *stream, ULONG value, UINT len) { (stream->refs)[stream->bpf_pc]+=len; stream->cur_ip+=len; @@ -115,7 +115,7 @@ BPF_filter_function BPFtoX86(struct bpf_insn *prog, UINT nins, INT *mem) // the first pass will emit the lengths of the instructions // to create the reference table - emitm=emit_lenght; + emitm=emit_length; for(pass=0;;){ diff --git a/src/SeeDll/Packet32.h b/src/SeeDll/Packet32.h index d2ddbe30..ddfb34e9 100644 --- a/src/SeeDll/Packet32.h +++ b/src/SeeDll/Packet32.h @@ -307,7 +307,7 @@ struct _PACKET_OID_DATA { ULONG Oid; ///< OID code. See the Microsoft DDK documentation or the file ntddndis.h ///< for a complete list of valid codes. ULONG Length; ///< Length of the data field - UCHAR Data[1]; ///< variable-lenght field that contains the information passed to or received + UCHAR Data[1]; ///< variable-length field that contains the information passed to or received ///< from the adapter. }; typedef struct _PACKET_OID_DATA PACKET_OID_DATA, *PPACKET_OID_DATA;