From: Wayne Davison Date: Fri, 12 Jun 2020 01:01:50 +0000 (-0700) Subject: Promote newer compressors to the start of the list. X-Git-Tag: v3.2.0pre1~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88abb502297d9c27da7f856548d8eb08300e8aa2;p=thirdparty%2Frsync.git Promote newer compressors to the start of the list. --- diff --git a/compat.c b/compat.c index a124c200..91b2771d 100644 --- a/compat.c +++ b/compat.c @@ -88,16 +88,14 @@ int filesfrom_convert = 0; struct name_num_obj valid_compressions = { "compress", NULL, NULL, 0, 0, { - { CPRES_ZLIBX, "zlibx", NULL }, - { CPRES_ZLIB, "zlib", NULL }, #ifdef SUPPORT_ZSTD - /* TODO decide where in the default preference order this should go. */ { CPRES_ZSTD, "zstd", NULL }, #endif #ifdef SUPPORT_LZ4 - /* TODO decide where in the default preference order this should go. */ { CPRES_LZ4, "lz4", NULL }, #endif + { CPRES_ZLIBX, "zlibx", NULL }, + { CPRES_ZLIB, "zlib", NULL }, { CPRES_NONE, "none", NULL }, { 0, NULL, NULL } }