]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
spelling: fixing minor spelling mistakes
authorVictor Julien <victor@inliniac.net>
Sat, 29 Sep 2018 07:42:14 +0000 (09:42 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 2 Oct 2018 12:24:16 +0000 (14:24 +0200)
src/app-layer-htp.c
src/tmqh-packetpool.c

index 648b3d2b542ff60ea37f0526958656f905e073a2..ca1f3558a5e9a61fdc130ad22428540d82721700 100644 (file)
@@ -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) {
index bda39d0ffc38066004c5a16888ce56a5f37eec6e..df23bb4f6f45b366bea522d8d0203c9effdc55cd 100644 (file)
@@ -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