Permalink
Browse files

Add missing return value (oh C, you're so crazy for allowing it)

  • Loading branch information...
1 parent 8ca9ba4 commit d04ad557b8eb46968ace0e20c2a08a394b795453 @evanphx evanphx committed Nov 29, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 ext/puma_http11/io_buffer.c
@@ -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) {

0 comments on commit d04ad55

Please sign in to comment.