diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-09-23 20:09:59 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-09-23 20:09:59 +0000 |
commit | f30dd804942eee1339d59785cde4d0eb4f88433c (patch) | |
tree | 360c923f6cf669993f86d628429ad4dbe34e5bc2 /imap | |
parent | bd72ebe0566bf6acfdbc6fe40160b6c85f4ff961 (diff) |
This small patch:
* catches a possible null-pointer dereference in mx_close_mailbox when
logging out of the server.
* fixes IMAP tab-completion cosmetics (slightly broken with last
Cyrus-compatibility updates)
* adds a bit to the IMAP part of the manual.
Brendan Cully <brendan@kublai.com>
Diffstat (limited to 'imap')
-rw-r--r-- | imap/browse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/imap/browse.c b/imap/browse.c index 7c403136..6c32cda7 100644 --- a/imap/browse.c +++ b/imap/browse.c @@ -177,6 +177,10 @@ int imap_init_browse (char *path, struct browser_state *state) /* if our target isn't a folder, we are in our superior */ if (!state->folder) { + /* store folder with delimiter */ + mbox[n++] = ctmp; + ctmp = mbox[n]; + mbox[n] = '\0'; imap_qualify_path (buf, sizeof (buf), host, port, mbox, NULL); state->folder = safe_strdup (buf); } |