projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc89090
)
imap: Fixed SELECT not being performed for custom requests
author
Steve Holme
<steve_holme@hotmail.com>
Thu, 7 Mar 2013 22:56:19 +0000
(22:56 +0000)
committer
Steve Holme
<steve_holme@hotmail.com>
Thu, 7 Mar 2013 22:56:19 +0000
(22:56 +0000)
lib/imap.c
patch
|
blob
|
history
diff --git
a/lib/imap.c
b/lib/imap.c
index
48b4309
..
2ca87b8
100644
(file)
--- a/
lib/imap.c
+++ b/
lib/imap.c
@@
-1873,7
+1873,7
@@
static CURLcode imap_perform(struct connectdata *conn, bool *connected,
else if(!imap->custom && selected && imap->uid)
/* FETCH from the same mailbox */
result = imap_fetch(conn);
- else if(imap->
uid
)
+ else if(imap->
mailbox && !selected && (imap->custom || imap->uid)
)
/* SELECT the mailbox */
result = imap_select(conn);
else