Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Aug 21, 2016
1 parent 6ae58cc commit 62e1d1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/nghttp2_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ int nghttp2_adjust_local_window_size(int32_t *local_window_size_ptr,
account it in *delta_ptr. */
*recv_window_size_ptr = recv_reduction_delta;
}
/* recv_reduction_delta must be paied from *delta_ptr, since it
was added in window size reduction (see below). */
/* recv_reduction_delta must be paid from *delta_ptr, since it was
added in window size reduction (see below). */
*delta_ptr -= recv_reduction_delta;

return 0;
Expand Down Expand Up @@ -238,7 +238,7 @@ int nghttp2_increase_local_window_size(int32_t *local_window_size_ptr,

*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). */
*delta_ptr -= recv_reduction_delta;

Expand Down

0 comments on commit 62e1d1c

Please sign in to comment.