X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=util%2Fzlib-extra.c;h=f691cccf2a336e5f2785a5daf8da7f8cc0612a25;hb=92a7f26face78334893b11fbdd6f79139b92bf5b;hp=2b2cd8f9bda2af8a7dd2590c0ee3dfb10b066c5d;hpb=92d8eae8f182e4eebc87d76f8d4f37e6c018883a;p=notmuch diff --git a/util/zlib-extra.c b/util/zlib-extra.c index 2b2cd8f9..f691cccf 100644 --- a/util/zlib-extra.c +++ b/util/zlib-extra.c @@ -70,13 +70,14 @@ gz_getline (void *talloc_ctx, char **bufptr, ssize_t *bytes_read, gzFile stream) if (buf == NULL) return UTIL_OUT_OF_MEMORY; } - SUCCESS: + SUCCESS: *bufptr = buf; *bytes_read = offset; return UTIL_SUCCESS; } -const char *gz_error_string (util_status_t status, gzFile file) +const char * +gz_error_string (util_status_t status, gzFile file) { if (status == UTIL_GZERROR) return gzerror (file, NULL);