From e7e3a47686e6439b3512883a81b4c45bca5869f8 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 15 Jan 2001 23:39:51 +0000 Subject: [PATCH] Fix a typo --- libsoup/soup-misc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libsoup/soup-misc.c b/libsoup/soup-misc.c index 708234d..eb55786 100644 --- a/libsoup/soup-misc.c +++ b/libsoup/soup-misc.c @@ -155,8 +155,8 @@ soup_base64_encode (gchar *text) #define DENY_UNLESS_ALLOWED FALSE static gboolean allow_policy = ALLOW_UNLESS_DENIED; -static GSList *allow_tokens; -static GSList *deny_tokens; +static GSList *allow_tokens = NULL; +static GSList *deny_tokens = NULL; static void soup_config_reset_allow_deny (void) @@ -219,9 +219,9 @@ soup_config_token_allowed (gchar *key) for (; list; list = list->next) if (!list->data || - g_strncasecmp (key, - (gchar *) list->data, - strlen ((gchar *) list->data))) + !g_strncasecmp (key, + (gchar *) list->data, + strlen ((gchar *) list->data))) return !allow; return allow; -- 2.7.4