projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e28f0ad
)
Fix detect_compression
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 21 Jun 2012 07:26:38 +0000
(09:26 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 25 Jun 2012 10:41:36 +0000
(12:41 +0200)
src/compression_wrapper.c
patch
|
blob
|
history
diff --git
a/src/compression_wrapper.c
b/src/compression_wrapper.c
index
330ae93
..
4b3e96c
100644
(file)
--- a/
src/compression_wrapper.c
+++ b/
src/compression_wrapper.c
@@
-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;
}