Fix detect_compression
authorTomas Mlcoch <tmlcoch@redhat.com>
Thu, 21 Jun 2012 07:26:38 +0000 (09:26 +0200)
committerTomas Mlcoch <tmlcoch@redhat.com>
Mon, 25 Jun 2012 10:41:36 +0000 (12:41 +0200)
src/compression_wrapper.c

index 330ae93..4b3e96c 100644 (file)
@@ -164,7 +164,8 @@ CompressionType detect_compression(const char *filename)
                  g_str_has_prefix(mime_type, "text/xml") ||
                  g_str_has_prefix(mime_type, "application/xml") ||
                  g_str_has_prefix(mime_type, "application/x-xml") ||
-                 g_str_has_prefix(mime_type, "application/x-empty"))
+                 g_str_has_prefix(mime_type, "application/x-empty") ||
+                 g_str_has_prefix(mime_type, "inode/x-empty"))
         {
             type = NO_COMPRESSION;
         }