Skip to content

Commit

Permalink
Add missing return value (oh C, you're so crazy for allowing it)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Nov 29, 2012
1 parent 8ca9ba4 commit d04ad55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/puma_http11/io_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ static VALUE buf_append2(int argc, VALUE* argv, VALUE self) {
memcpy(b->cur, RSTRING_PTR(str), str_len);
b->cur += str_len;
}

return self;
}

static VALUE buf_to_str(VALUE self) {
Expand Down

0 comments on commit d04ad55

Please sign in to comment.