diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-10-06 23:58:51 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-10-06 23:58:51 -0600 |
commit | 30a979ab1460a57d466a6a5cc6adb96eac452ce4 (patch) | |
tree | 1aec0ebb21be40922bc5a708c7780fb0db602202 /pith/folder.c | |
parent | c5bb25b1320af6cda4cc62ea9e15fbb03ee92026 (diff) | |
download | alpine-30a979ab1460a57d466a6a5cc6adb96eac452ce4.tar.xz |
* new version 2.11.8
* Fix in configure script for recognition of SSL files in Ubuntu 12.04
* Alpine does not attempt to automatically reopen a collection that
was not opened due to cancellation by the user. Instead, the user
must try to open it explicitly.
* few improvements on new /tls1, /tls1_1, etc. options.
Diffstat (limited to 'pith/folder.c')
-rw-r--r-- | pith/folder.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pith/folder.c b/pith/folder.c index 4536400e..e4ddcfc0 100644 --- a/pith/folder.c +++ b/pith/folder.c @@ -966,7 +966,8 @@ build_folder_list(MAILSTREAM **stream, CONTEXT_S *context, char *pat, char *cont ldata.stream = sp_stream_get(context->context, SP_SAME); /* gotta open a new one? */ - if(!ldata.stream){ + if((F_OFF(F_CMBND_FOLDER_DISP, ps_global) + || context->update == LUU_INIT) && !ldata.stream){ ldata.stream = mail_cmd_stream(context, &local_open); if(stream) *stream = ldata.stream; @@ -978,6 +979,7 @@ build_folder_list(MAILSTREAM **stream, CONTEXT_S *context, char *pat, char *cont if(!ldata.stream){ context->use &= ~CNTXT_PARTFIND; /* unset partial find bit */ + context->update = LUU_NOMORECHK; if(we_cancel) cancel_busy_cue(-1); @@ -1021,6 +1023,7 @@ build_folder_list(MAILSTREAM **stream, CONTEXT_S *context, char *pat, char *cont set_read_predicted(0); } + context->update = LUU_INIT; if(context->dir && response.response.delim) context->dir->delim = response.response.delim; |