changeset 18998:196c76bdc11a

doveadm backup: Fixed assert-crash due to duplicate 'R' in getopt args.
author Timo Sirainen <tss@iki.fi>
date Mon, 24 Aug 2015 14:40:11 +0300
parents 63ada4bc7508
children d5cddaa5ca92
files src/doveadm/doveadm-dsync.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/doveadm/doveadm-dsync.c	Mon Aug 24 14:32:52 2015 +0300
+++ b/src/doveadm/doveadm-dsync.c	Mon Aug 24 14:40:11 2015 +0300
@@ -1036,7 +1036,7 @@
 	struct dsync_cmd_context *ctx;
 
 	_ctx = cmd_dsync_alloc();
-	_ctx->getopt_args = DSYNC_COMMON_GETOPT_ARGS"R";
+	_ctx->getopt_args = DSYNC_COMMON_GETOPT_ARGS;
 	ctx = (struct dsync_cmd_context *)_ctx;
 	ctx->backup = TRUE;
 	return _ctx;