[libsoup/content-sniffing] Fix a bug in the gio fallback



commit 51c09a0ad6ad14ebcfdc6e349e4f7a9ad313eb78
Author: Dan Winship <danw gnome org>
Date:   Sat Jun 20 20:56:21 2009 -0400

    Fix a bug in the gio fallback

 libsoup/soup-content-sniffer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c
index f8d594d..1866526 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]