From 13ea30ef2381571bd76b1772e78e5ace20111307 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sat, 29 Sep 2018 09:42:14 +0200 Subject: [PATCH] spelling: fixing minor spelling mistakes --- src/app-layer-htp.c | 4 ++-- src/tmqh-packetpool.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app-layer-htp.c b/src/app-layer-htp.c index 648b3d2b54..ca1f3558a5 100644 --- a/src/app-layer-htp.c +++ b/src/app-layer-htp.c @@ -1781,7 +1781,7 @@ end: /* if we reach the inspect_min_size we'll trigger inspection, * so make sure that raw stream is also inspected. Set the - * data to be used to the ammount of raw bytes we've seen to + * data to be used to the amount of raw bytes we've seen to * get here. */ if (tx_ud->request_body.body_inspected == 0 && tx_ud->request_body.content_len_so_far >= hstate->cfg->request.inspect_min_size) { @@ -1877,7 +1877,7 @@ static int HTPCallbackResponseBodyData(htp_tx_data_t *d) (uint64_t)hstate->conn->in_data_counter, hstate->last_response_data_stamp); /* if we reach the inspect_min_size we'll trigger inspection, * so make sure that raw stream is also inspected. Set the - * data to be used to the ammount of raw bytes we've seen to + * data to be used to the amount of raw bytes we've seen to * get here. */ if (tx_ud->response_body.body_inspected == 0 && tx_ud->response_body.content_len_so_far >= hstate->cfg->response.inspect_min_size) { diff --git a/src/tmqh-packetpool.c b/src/tmqh-packetpool.c index bda39d0ffc..df23bb4f6f 100644 --- a/src/tmqh-packetpool.c +++ b/src/tmqh-packetpool.c @@ -160,7 +160,7 @@ void PacketPoolWait(void) cc_barrier(); } -/** \brief Wait until we have the requested ammount of packets in the pool +/** \brief Wait until we have the requested amount of packets in the pool * * In some cases waiting for packets is undesirable. Especially when * a wait would happen under a lock of some kind, other parts of the