From 0036e7b2ed977f92020b975407f2b55b56c6bcda Mon Sep 17 00:00:00 2001 From: Paweł Zuzelski Date: Mon, 25 Jan 2010 13:20:05 +0100 Subject: authentication_handler: empty string treat empty string as if var was not set also in handle_authentication() function. --- src/uzbl-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/uzbl-core.c b/src/uzbl-core.c index 3a11e2a..2aa3022 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -2325,7 +2325,7 @@ void handle_authentication (SoupSession *session, SoupMessage *msg, SoupAuth *au (void) user_data; - if(uzbl.behave.authentication_handler) { + if(uzbl.behave.authentication_handler && *uzbl.behave.authentication_handler != NULL) { gchar *info, *host, *realm; gchar *p; -- cgit v1.2.3