summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2009-06-20 20:56:21 -0400
committerDan Winship <danw@gnome.org>2009-06-20 20:56:21 -0400
commit51c09a0ad6ad14ebcfdc6e349e4f7a9ad313eb78 (patch)
treed599adf392aaa49d423b523eef52d0b2613b387a
parenta22a069e9ad18a858bd2b2fa9745f753531edf73 (diff)
downloadlibsoup-51c09a0ad6ad14ebcfdc6e349e4f7a9ad313eb78.tar.gz
Fix a bug in the gio fallback
-rw-r--r--libsoup/soup-content-sniffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c
index f8d594d1..18665267 100644
--- a/libsoup/soup-content-sniffer.c
+++ b/libsoup/soup-content-sniffer.c
@@ -328,7 +328,7 @@ sniff_unknown (SoupContentSniffer *sniffer, SoupMessage *msg, SoupBuffer *buffer
for (i = 0; types_table[i].pattern != NULL ; i++) {
struct _type_info *type_row = &(types_table[i]);
- if (!g_ascii_strcasecmp (type_row, gio_guess) &&
+ if (!g_ascii_strcasecmp (type_row->sniffed_type, gio_guess) &&
type_row->scriptable) {
use_gio_guess = FALSE;
break;