Projects
Kolab:3.4
cyrus-imapd
0004-Fix-display-of-deleted-shared-folders.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-Fix-display-of-deleted-shared-folders.patch of Package cyrus-imapd (Revision 52)
Currently displaying revision
52
,
Show latest
From f931a6f37054f6f9f7638d71147c1b7367242557 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen@kolabsys.com> Date: Sat, 8 Mar 2014 23:49:50 +0100 Subject: [PATCH 4/6] Fix display of deleted shared folders --- imap/mboxname.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/imap/mboxname.c b/imap/mboxname.c index 86a755f..f3634c0 100644 --- a/imap/mboxname.c +++ b/imap/mboxname.c @@ -576,7 +576,15 @@ static int mboxname_toexternal(struct namespace *namespace, const char *mboxname if (mbparts.box) strcat(result, "."); + } else { + /* shared mailbox */ + if (mbparts.is_deleted) { + const char *dp = config_getstring(IMAPOPT_DELETEDPREFIX); + sprintf(result, "%s.", dp); + } } + + if (mbparts.box) strcat(result, mbparts.box); -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.