Merge pull request #115 from jer-gentoo/master

EVBUFFER_PTR_SET -> EVBUFFER_PTR_ADD
This commit is contained in:
Nick Mathewson 2015-01-22 12:15:01 -05:00
commit 4d66552a47

View File

@ -782,7 +782,7 @@ enum evbuffer_ptr_how {
There are two ways to use this function: you can call
evbuffer_ptr_set(buf, &pos, N, EVBUFFER_PTR_SET)
to move 'pos' to a position 'N' bytes after the start of the buffer, or
evbuffer_ptr_set(buf, &pos, N, EVBUFFER_PTR_SET)
evbuffer_ptr_set(buf, &pos, N, EVBUFFER_PTR_ADD)
to move 'pos' forward by 'N' bytes.
If evbuffer_ptr is not initialized, this function can only be called