Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from Kobolog/master

Fixed an off-by-one error in parsing of zeromq [group:]command messages.
  • Loading branch information...
commit 844e2cc49340c76beaa77aa2d3f921b0aab3aadd 2 parents eb89738 + 14f18a2
@unbit authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/zmq.c
View
2  src/zmq.c
@@ -40,7 +40,7 @@ extern http_parser_settings bb_http_response_parser_settings;
static char *bb_get_route(char *buf, size_t len, size_t *rlen) {
while(len>0) {
- if (buf[len--] == ':') {
+ if (buf[--len] == ':') {
*rlen = len+1;
return buf;
}
Please sign in to comment.
Something went wrong with that request. Please try again.