From: Timo Sirainen Date: Tue, 15 Apr 2014 21:41:50 +0000 (+0200) Subject: dsync: Fix to previous commit to actually compile.. X-Git-Tag: 2.2.13.rc1~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=debafc38f98c84dd14ccca9f2d2983dc8faa9aa7;p=thirdparty%2Fdovecot%2Fcore.git dsync: Fix to previous commit to actually compile.. --- diff --git a/src/doveadm/dsync/dsync-brain.c b/src/doveadm/dsync/dsync-brain.c index 1d98ddd885..75187ec831 100644 --- a/src/doveadm/dsync/dsync-brain.c +++ b/src/doveadm/dsync/dsync-brain.c @@ -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 :