Skip to content

Commit

Permalink
Merge pull request #219 from picansay/master
Browse files Browse the repository at this point in the history
bug token pos
  • Loading branch information
davidmoreno committed Oct 17, 2017
2 parents 8fe1b9a + 1ecd163 commit 98c5f41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/onion/request_parser.c
Expand Up @@ -328,7 +328,8 @@ static onion_connection_status parse_CONTENT_LENGTH(onion_request *req, onion_bu

onion_block_add_data(req->data, &data->data[skip], length);
data->pos+=length; // done

token->pos+=length;

if (exit)
return OCS_REQUEST_READY;

Expand Down

0 comments on commit 98c5f41

Please sign in to comment.