diff options
Diffstat (limited to 'main/rfc1867.c')
-rw-r--r-- | main/rfc1867.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c index 8a8e335ef4..e1167ebf50 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -281,11 +281,7 @@ static int fill_buffer(multipart_buffer *self) /* eof if we are out of bytes, or if we hit the final boundary */ static int multipart_buffer_eof(multipart_buffer *self) { - if ( (self->bytes_in_buffer == 0 && fill_buffer(self) < 1) ) { - return 1; - } else { - return 0; - } + return self->bytes_in_buffer == 0 && fill_buffer(self) < 1; } /* create new multipart_buffer structure */ |