Code cleanup

This commit is contained in:
Tatsuhiro Tsujikawa 2013-08-09 01:46:07 +09:00
parent a3ff4cb50b
commit 5dd6d86d66
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ static int update_initial_window_size
new_window_size > NGHTTP2_MAX_WINDOW_SIZE) {
return -1;
}
*window_size_ptr += new_initial_window_size - old_initial_window_size;
*window_size_ptr = new_window_size;
return 0;
}