]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dsync: Fix to previous commit to actually compile..
authorTimo Sirainen <tss@iki.fi>
Tue, 15 Apr 2014 21:41:50 +0000 (23:41 +0200)
committerTimo Sirainen <tss@iki.fi>
Tue, 15 Apr 2014 21:41:50 +0000 (23:41 +0200)
src/doveadm/dsync/dsync-brain.c

index 1d98ddd88564e38dcc560a30904e6f08d20999da..75187ec8313bd0b964f2640b96845480159b13fe 100644 (file)
@@ -163,7 +163,7 @@ dsync_brain_master_init(struct mail_user *user, struct dsync_ibc *ibc,
                        str_append_c(sync_ns_str, '\n');
                        array_append(&brain->sync_namespaces, nsp, 1);
                }
-               str_delete(sync_ns_str, str_len(sync_ns_str)-1);
+               str_delete(sync_ns_str, str_len(sync_ns_str)-1, 1);
        }
        brain->sync_box = p_strdup(brain->pool, set->sync_box);
        brain->exclude_mailboxes = set->exclude_mailboxes == NULL ? NULL :