diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index d14f32c2..bf2bebd8 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -422,7 +422,7 @@ typedef enum { /** * @struct * - * The object representing single contagious buffer. + * The object representing single contiguous buffer. */ typedef struct { /** diff --git a/lib/nghttp2_buf.h b/lib/nghttp2_buf.h index 7c43606e..6770d6f3 100644 --- a/lib/nghttp2_buf.h +++ b/lib/nghttp2_buf.h @@ -312,8 +312,8 @@ int nghttp2_bufs_orb_hold(nghttp2_bufs *bufs, uint8_t b); } while (0) /* - * Copies all data stored in |bufs| to the contagious buffer. This - * function allocates the contagious memory to store all data in + * Copies all data stored in |bufs| to the contiguous buffer. This + * function allocates the contiguous memory to store all data in * |bufs| and assigns it to |*out|. * * The contents of |bufs| is left unchanged.