summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2020-10-12 17:21:58 +0100
committerDenis Ovsienko <denis@ovsienko.info>2020-10-12 17:21:58 +0100
commite13fde1e5bf9546a5716573623bca91190968193 (patch)
treeea8f5043ddb110b18289e37023796f90978bbba0
parentbcca74d2713dc9c0a27992102c469f77bdd8dd1f (diff)
downloadlibpcap-e13fde1e5bf9546a5716573623bca91190968193.tar.gz
Restore "iff" (revert 824aa78). [skip ci]
-rw-r--r--gencode.c2
-rw-r--r--optimize.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gencode.c b/gencode.c
index 13dbcb5e..29788598 100644
--- a/gencode.c
+++ b/gencode.c
@@ -1316,7 +1316,7 @@ init_linktype(compiler_state_t *cstate, pcap_t *p)
* information, i.e. is not source-routed, the correct
* values are 20 and 22, as they are in the vanilla code.
*
- * A packet is source-routed if the uppermost bit
+ * A packet is source-routed iff the uppermost bit
* of the first byte of the source address, at an
* offset of 8, has the uppermost bit set. If the
* packet is source-routed, the total number of bytes
diff --git a/optimize.c b/optimize.c
index 230a018d..2c9c4b39 100644
--- a/optimize.c
+++ b/optimize.c
@@ -2317,7 +2317,7 @@ mark_code(struct icode *ic)
}
/*
- * True if the two stmt lists load the same value from the packet into
+ * True iff the two stmt lists load the same value from the packet into
* the accumulator.
*/
static int