summaryrefslogtreecommitdiff
path: root/pith/msgno.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2019-11-22 17:41:27 -0700
committerEduardo Chappa <chappa@washington.edu>2019-11-22 17:41:27 -0700
commit8dfd4135d461fcc559b426b9ecd20760e17641b4 (patch)
treead9e4511f313619d9124ccacefa7d89bce3a31ea /pith/msgno.c
parentc4a59b4ff006e55f42780340f1fdcdbffad5821c (diff)
downloadalpine-8dfd4135d461fcc559b426b9ecd20760e17641b4.tar.xz
* Alpine crashes when opening a remote imap folder and computing scores.
Reported by Paul DeStefano.
Diffstat (limited to 'pith/msgno.c')
-rw-r--r--pith/msgno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/msgno.c b/pith/msgno.c
index 0ec33639..f3a6dec5 100644
--- a/pith/msgno.c
+++ b/pith/msgno.c
@@ -864,7 +864,7 @@ calculate_some_scores(MAILSTREAM *stream, SEARCHSET *searchset, int no_fetch)
* we will actually have fetched this with
* the envelope. Just making sure.
*/
- if(hdrtok && no_fetch){
+ if(no_fetch){
error++;
break;
}