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