Commit 62e1d1c9 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix typo

parent 6ae58cc2
...@@ -189,8 +189,8 @@ int nghttp2_adjust_local_window_size(int32_t *local_window_size_ptr, ...@@ -189,8 +189,8 @@ int nghttp2_adjust_local_window_size(int32_t *local_window_size_ptr,
account it in *delta_ptr. */ account it in *delta_ptr. */
*recv_window_size_ptr = recv_reduction_delta; *recv_window_size_ptr = recv_reduction_delta;
} }
/* recv_reduction_delta must be paied from *delta_ptr, since it /* recv_reduction_delta must be paid from *delta_ptr, since it was
was added in window size reduction (see below). */ added in window size reduction (see below). */
*delta_ptr -= recv_reduction_delta; *delta_ptr -= recv_reduction_delta;
return 0; return 0;
...@@ -238,7 +238,7 @@ int nghttp2_increase_local_window_size(int32_t *local_window_size_ptr, ...@@ -238,7 +238,7 @@ int nghttp2_increase_local_window_size(int32_t *local_window_size_ptr,
*recv_window_size_ptr += recv_reduction_delta; *recv_window_size_ptr += recv_reduction_delta;
/* recv_reduction_delta must be paied from *delta_ptr, since it was /* recv_reduction_delta must be paid from *delta_ptr, since it was
added in window size reduction (see below). */ added in window size reduction (see below). */
*delta_ptr -= recv_reduction_delta; *delta_ptr -= recv_reduction_delta;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment