diff options
author | Paweł Zuzelski <pawelz@pld-linux.org> | 2010-01-25 13:20:05 +0100 |
---|---|---|
committer | Paweł Zuzelski <pawelz@pld-linux.org> | 2010-01-25 13:20:05 +0100 |
commit | 0036e7b2ed977f92020b975407f2b55b56c6bcda (patch) | |
tree | 58e5059e5732070498ba39a305a9cb0d42955008 /src | |
parent | 238b199ee595df2f6e6db299d8de4de9193e4b10 (diff) |
authentication_handler: empty string
treat empty string as if var was not set also in handle_authentication()
function.
Diffstat (limited to 'src')
-rw-r--r-- | src/uzbl-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |