clitar.c: default block size was a multiple of TBLOCK
authorAurélien Aptel <aurelien.aptel@gmail.com>
Wed, 17 Jul 2013 16:01:59 +0000 (18:01 +0200)
committerAndreas Schneider <asn@samba.org>
Wed, 19 Feb 2014 17:22:28 +0000 (18:22 +0100)
Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/client/clitar.c

index b4284eba0acd93bcae801d6524b8194a5b740b59..3734d8d47f4942b6498574814e4f9c94ca19f282 100644 (file)
@@ -43,7 +43,7 @@
  *
  * The actual choice is made by libarchive.
  */
-#define TAR_DEFAULT_BLOCK_SIZE 20
+#define TAR_DEFAULT_BLOCK_SIZE (20*512)
 
 #define TAR_CLI_READ_SIZE 0xff00