X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Fzlib-extra.c;h=f691cccf2a336e5f2785a5daf8da7f8cc0612a25;hp=2b2cd8f9bda2af8a7dd2590c0ee3dfb10b066c5d;hb=b23902a61158ecdbca2d9d96c6eaf509d6e3d205;hpb=c3a683299d4c27d6eadaacf4fb516f73a6c69fc3 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);