minor: missing return

This commit is contained in:
Mike Dirolf 2009-12-02 16:15:13 -05:00
parent 2204e42956
commit 5995572a3e
2 changed files with 1 additions and 1 deletions

View File

@ -76,6 +76,7 @@ static int buffer_grow(buffer_t buffer, int min_length) {
return 1;
}
buffer->size = size;
return 0;
}
/* Assure that `buffer` has at least `size` free bytes (and grow if needed).

View File

@ -52,7 +52,6 @@
if (buffer_write_at_position((buffer), (position), (data), (size)) != 0) \
rb_raise(rb_eNoMemError, "failed to allocate memory in buffer.c")
#define MAX_HOSTNAME_LENGTH 256
static VALUE Binary;