]> granicus.if.org Git - neomutt/commitdiff
Fix usage of mutt_progress_init after b310689
authorPietro Cerutti <gahr@gahr.ch>
Wed, 28 Feb 2018 12:07:16 +0000 (12:07 +0000)
committerRichard Russon <rich@flatcap.org>
Thu, 1 Mar 2018 10:53:11 +0000 (10:53 +0000)
nntp.c

diff --git a/nntp.c b/nntp.c
index 196f971ec821e8a2f16bcce4276590c10ba92f0f..57487bfffee5cb03bbb9712bc29ed9de85688316 100644 (file)
--- a/nntp.c
+++ b/nntp.c
@@ -849,7 +849,7 @@ static int nntp_fetch_lines(struct NntpData *nntp_data, char *query, size_t qlen
     struct Progress progress;
 
     if (msg)
-      mutt_progress_init(&progress, msg, MUTT_PROGRESS_MSG, ReadInc, -1);
+      mutt_progress_init(&progress, msg, MUTT_PROGRESS_MSG, ReadInc, 0);
 
     mutt_str_strfcpy(buf, query, sizeof(buf));
     if (nntp_query(nntp_data, buf, sizeof(buf)) < 0)