Parcourir la source

dpkg-deb: Use default gzip compression level instead of hardcoding it

Use the global default, instead of setting it explicitly in the code.
Guillem Jover il y a 12 ans
Parent
commit
e7e052b462
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dpkg-deb/build.c

+ 1 - 1
dpkg-deb/build.c

@@ -523,7 +523,7 @@ do_build(const char *const *argv)
 
     params.type = compressor_type_gzip;
     params.strategy = compressor_strategy_none;
-    params.level = 9;
+    params.level = -1;
 
     compress_filter(&params, p1[0], gzfd, _("compressing control member"));
     exit(0);