xz: omit explicit \0 from HEADER_MAGIC
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 27 Feb 2013 15:23:05 +0000 (16:23 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 27 Feb 2013 15:23:24 +0000 (16:23 +0100)
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/libarchive/unxz/xz_stream.h

index 36f2a7cbfa97c47f1f5821f50d0a3c0b30c0ebf0..2ffaa34eac1283686d80f5ddeccc380171809db2 100644 (file)
@@ -25,7 +25,7 @@
 
 #define STREAM_HEADER_SIZE 12
 
-#define HEADER_MAGIC "\3757zXZ\0"
+#define HEADER_MAGIC "\3757zXZ"
 #define HEADER_MAGIC_SIZE 6
 
 #define FOOTER_MAGIC "YZ"