diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-08-23 14:21:33 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-08-23 14:21:33 +0000 |
commit | 0ad2b164b74ea0ac76e81a17ee5ac7f5f5c4b50e (patch) | |
tree | b132ad976295398a83614f67f40b7f4f96aa9a40 /browser.c | |
parent | 274bd0216e1c7420f34ad276e55239e80053c073 (diff) |
Inclue GSS authentization for IMAP.
Diffstat (limited to 'browser.c')
-rw-r--r-- | browser.c | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -168,6 +168,11 @@ folder_format_str (char *dest, size_t destlen, char op, const char *src, break; case 'f': +#ifdef USE_IMAP + if (mx_is_imap (folder->ff->name)) + strfcpy (fn, folder->ff->desc, sizeof (fn)); + else +#endif strfcpy (fn, folder->ff->name, sizeof(fn)); if (folder->ff->st != NULL) { @@ -199,10 +204,10 @@ folder_format_str (char *dest, size_t destlen, char op, const char *src, else { #ifdef USE_IMAP - if (strchr(folder->ff->name, '{')) + if (mx_is_imap (folder->ff->name)) { - snprintf (tmp, sizeof (tmp), "%%%ss", fmt); - snprintf (dest, destlen, tmp, "IMAP"); + snprintf (tmp, sizeof (tmp), "%%%ss", fmt); + snprintf (dest, destlen, tmp, "IMAP"); } #endif } |