]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm: dsync - Fix -e parameter when used with dsync-server
authorAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 11 Nov 2025 07:44:14 +0000 (09:44 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 11 Nov 2025 10:46:09 +0000 (12:46 +0200)
It was set to sync_since_timestamp.

Broken in ee8294dbc7bb549557f6ba1264d66b55fbef69b6

src/doveadm/dsync/dsync-ibc-stream.c

index 472d1fc5171110bbda6e50debd326d8921ade7f3..e02d74a5b8589dcf6714022c14180ee8538f6f6c 100644 (file)
@@ -714,7 +714,7 @@ dsync_ibc_stream_send_handshake(struct dsync_ibc *_ibc,
        }
        if (set->sync_until_timestamp > 0) {
                dsync_serializer_encode_add(encoder, "sync_until_timestamp",
-                       t_strdup_printf("%ld", (long)set->sync_since_timestamp));
+                       t_strdup_printf("%ld", (long)set->sync_until_timestamp));
        }
        if (set->sync_max_size > 0) {
                dsync_serializer_encode_add(encoder, "sync_max_size",