minor: missing return
This commit is contained in:
parent
2204e42956
commit
5995572a3e
@ -76,6 +76,7 @@ static int buffer_grow(buffer_t buffer, int min_length) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
buffer->size = size;
|
buffer->size = size;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Assure that `buffer` has at least `size` free bytes (and grow if needed).
|
/* Assure that `buffer` has at least `size` free bytes (and grow if needed).
|
||||||
|
@ -52,7 +52,6 @@
|
|||||||
if (buffer_write_at_position((buffer), (position), (data), (size)) != 0) \
|
if (buffer_write_at_position((buffer), (position), (data), (size)) != 0) \
|
||||||
rb_raise(rb_eNoMemError, "failed to allocate memory in buffer.c")
|
rb_raise(rb_eNoMemError, "failed to allocate memory in buffer.c")
|
||||||
|
|
||||||
|
|
||||||
#define MAX_HOSTNAME_LENGTH 256
|
#define MAX_HOSTNAME_LENGTH 256
|
||||||
|
|
||||||
static VALUE Binary;
|
static VALUE Binary;
|
||||||
|
Loading…
Reference in New Issue
Block a user