From: Norbert Bizet Date: Thu, 26 Aug 2021 16:44:08 +0000 (-0400) Subject: cloud: Fix destination name when moving part X-Git-Tag: Release-11.3.2~378 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3b99161fd9df67d18865a8c26676cb7e14c895e;p=thirdparty%2Fbacula.git cloud: Fix destination name when moving part --- diff --git a/bacula/src/stored/s3_driver.c b/bacula/src/stored/s3_driver.c index b69136cd1..4f1f64725 100644 --- a/bacula/src/stored/s3_driver.c +++ b/bacula/src/stored/s3_driver.c @@ -580,7 +580,7 @@ bool s3_driver::move_cloud_part(const char *VolumeName, uint32_t apart, const ch make_cloud_filename(cloud_fname, VolumeName, apart); POOLMEM *dest_cloud_fname = get_pool_memory(PM_FNAME); dest_cloud_fname[0] = 0; - add_vol_and_part(dest_cloud_fname, VolumeName, to, apart); + add_vol_and_part(dest_cloud_fname, VolumeName, to); int64_t lastModifiedReturn=0LL; bacula_ctx ctx(err); ctx.caller = "S3_copy_object";