aboutsummaryrefslogtreecommitdiffstats
path: root/capture
diff options
context:
space:
mode:
authorMoshe Kaplan <me@moshekaplan.com>2021-12-19 21:40:23 -0500
committerAndersBroman <a.broman58@gmail.com>2021-12-22 11:01:11 +0000
commit69d54d6f8e668b6018375121ea2afb99f3dd0177 (patch)
treed0fffa200bbaf4ef325ac00c75a79d682bf379c6 /capture
parentb5928542b77cf789b112370bb7acc00942162519 (diff)
Corrects repeated words throughout the code.
Repeated words were found with: egrep "(\b[a-zA-Z]+) +\1\b" . -Ir and then manually reviewed. Non-displayed strings (e.g., in comments) were also corrected, to ease future review.
Diffstat (limited to 'capture')
-rw-r--r--capture/airpcap.h4
-rw-r--r--capture/airpcap_loader.c2
-rw-r--r--capture/capture-pcap-util-unix.c2
-rw-r--r--capture/capture-wpcap.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/capture/airpcap.h b/capture/airpcap.h
index 8cbc956948..48de30d3e7 100644
--- a/capture/airpcap.h
+++ b/capture/airpcap.h
@@ -245,7 +245,7 @@ typedef struct _AirpcapStats
/* < from the beginning of the current capture. This value includes the packets */
/* < dropped because of buffer full. */
guint Drops; /* < number of packets that the driver dropped from the beginning of a capture. */
- /* < A packet is lost when the the buffer of the driver is full. */
+ /* < A packet is lost when the driver's buffer is full. */
guint IfDrops; /* < Packets dropped by the card before going to the USB bus. */
/* < Not supported at the moment. */
guint Capt; /* < number of packets that pass the BPF filter, find place in the kernel buffer and */
@@ -717,7 +717,7 @@ gboolean AirpcapStoreCurConfigAsAdapterDefault(PAirpcapHandle AdapterHandle);
\param Instructions pointer to the first BPF instruction in the array. Corresponds to the bf_insns
in a bpf_program structure (see the WinPcap documentation at https://www.winpcap.org/devel.htm).
\param Len Number of instructions in the array pointed by the previous field. Corresponds to the bf_len in
- a a bpf_program structure (see the WinPcap documentation at https://www.winpcap.org/devel.htm).
+ a bpf_program structure (see the WinPcap documentation at https://www.winpcap.org/devel.htm).
\return TRUE on success.
The AirPcap driver is able to perform kernel-level filtering using the standard BPF pseudo-machine format. You can read
diff --git a/capture/airpcap_loader.c b/capture/airpcap_loader.c
index 285014493e..5cae1ade31 100644
--- a/capture/airpcap_loader.c
+++ b/capture/airpcap_loader.c
@@ -1198,7 +1198,7 @@ get_compiled_airpcap_version(GString *str)
}
/*
- * Append the version of AirPcap with which we we're running to a GString.
+ * Append the version of AirPcap with which we're running to a GString.
*/
void
get_runtime_airpcap_version(GString *str)
diff --git a/capture/capture-pcap-util-unix.c b/capture/capture-pcap-util-unix.c
index 34207be74b..adf3084fe1 100644
--- a/capture/capture-pcap-util-unix.c
+++ b/capture/capture-pcap-util-unix.c
@@ -160,7 +160,7 @@ get_compiled_caplibs_version(GString *str)
}
/*
- * Append the version of libpcap with which we we're running to a GString.
+ * Append the version of libpcap with which we're running to a GString.
*/
void
get_runtime_caplibs_version(GString *str)
diff --git a/capture/capture-wpcap.c b/capture/capture-wpcap.c
index d92a670f95..84711faa4e 100644
--- a/capture/capture-wpcap.c
+++ b/capture/capture-wpcap.c
@@ -827,7 +827,7 @@ get_compiled_caplibs_version(GString *str)
}
/*
- * Append the version of Npcap with which we we're running to a GString.
+ * Append the version of Npcap with which we're running to a GString.
*/
void
get_runtime_caplibs_version(GString *str)