aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Rob <rob.manea@gmail.com>2010-02-19 11:33:51 +0100
committerGravatar Rob <rob.manea@gmail.com>2010-02-19 11:33:51 +0100
commit292012e2ab6a327c239501324e3eed28f151f0f7 (patch)
tree53836c21296fc85c433c258724d308c5699e32f5 /src
parent7276fc7d96e60495d1f3c38a157d97778ab9aa9b (diff)
fixed int to pointer comparision warning
Diffstat (limited to 'src')
-rw-r--r--src/callbacks.c2
-rw-r--r--src/uzbl-core.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index 9b90d3c..c95c0f1 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -33,7 +33,7 @@ set_authentication_handler() {
guint feature_is_set = g_slist_length(flist);
g_slist_free(flist);
- if (uzbl.behave.authentication_handler == NULL || *uzbl.behave.authentication_handler == NULL) {
+ if (uzbl.behave.authentication_handler == NULL || *uzbl.behave.authentication_handler == 0) {
if (!feature_is_set)
soup_session_add_feature_by_type
(uzbl.net.soup_session, (GType) WEBKIT_TYPE_SOUP_AUTH_DIALOG);
diff --git a/src/uzbl-core.c b/src/uzbl-core.c
index ebd8ef8..6cf8b10 100644
--- a/src/uzbl-core.c
+++ b/src/uzbl-core.c
@@ -2341,7 +2341,7 @@ void handle_authentication (SoupSession *session, SoupMessage *msg, SoupAuth *au
(void) user_data;
- if(uzbl.behave.authentication_handler && *uzbl.behave.authentication_handler != NULL) {
+ if(uzbl.behave.authentication_handler && *uzbl.behave.authentication_handler != 0) {
gchar *info, *host, *realm;
gchar *p;