~ubuntu-branches/ubuntu/raring/dovecot/raring

« back to all changes in this revision

Viewing changes to src/lib-storage/index/shared/shared-storage.c

  • Committer: Package Import Robot
  • Author(s): Marco Nenciarini
  • Date: 2011-09-19 19:26:48 UTC
  • mfrom: (1.14.4 upstream)
  • mto: (4.8.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 86.
  • Revision ID: package-import@ubuntu.com-20110919192648-ri3sovtiz334yori
Tags: 1:2.0.15-1
* [a22575a] New upstream version 2.0.15: (Closes: #642045)
    + doveadm altmove: Added -r parameter to move mails back to primary
      storage.
    - v2.0.14: Index reading could have eaten a lot of memory in some
      situations
    - doveadm index no longer affects future caching decisions
    - mbox: Fixed crash during mail delivery when mailbox didn't yet have
      GUID assigned to it.
    - zlib+mbox: Fetching last message from compressed mailboxes crashed.
    - lib-sql: Fixed load balancing and error
* [8ce5abc] Update pigeonhole to release 0.2.4
* [87658d2] Add dovecot-solr to dovecot-core's Suggests line.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
                *error_r = "Shared namespace prefix doesn't contain %u or %n";
80
80
                return -1;
81
81
        }
 
82
        if (p[-1] != ns->sep &&
 
83
            (ns->flags & (NAMESPACE_FLAG_LIST_PREFIX |
 
84
                          NAMESPACE_FLAG_LIST_CHILDREN)) != 0) {
 
85
                *error_r = "Shared namespace prefix doesn't end with hierarchy separator";
 
86
                return -1;
 
87
        }
82
88
 
83
89
        /* truncate prefix after the above checks are done, so they can log
84
90
           the full prefix in error conditions */