Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rransom8774 committed May 7, 2013
1 parent 84d6688 commit 6706971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ref6a_advanced_bufferevents.txt
Expand Up @@ -215,7 +215,7 @@ Setting a rate limit on a bufferevent
#define EV_RATE_LIMIT_MAX EV_SSIZE_MAX
struct ev_token_bucket_cfg;
struct ev_token_bucket_cfg *ev_token_bucket_cfg_new(
size_t read_rate, sizee_t read_burst,
size_t read_rate, size_t read_burst,
size_t write_rate, size_t write_burst,
const struct timeval *tick_len);
void ev_token_bucket_cfg_free(struct ev_token_bucket_cfg *cfg);
Expand Down Expand Up @@ -272,7 +272,7 @@ int bufferevent_remove_from_rate_limit_group(struct bufferevent *bev);
To construct a rate limiting group, call bufferevent_rate_limit_group() with an
event_base and an initial ev_token_bucket_cfg. You can add bufferevents to
the group with bufferevent_add_to_rate_limit_group() and
bufferevnt_remove_from_rate_limit_group(); these functions return 0 on
bufferevent_remove_from_rate_limit_group(); these functions return 0 on
success and -1 on error.

A single bufferevent can be a member of no more than one rate limiting group
Expand Down

0 comments on commit 6706971

Please sign in to comment.