Skip to content

Commit

Permalink
fixed int to pointer comparision warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob committed Feb 19, 2010
1 parent 7276fc7 commit 292012e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/callbacks.c
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/uzbl-core.c
Expand Up @@ -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;

Expand Down

0 comments on commit 292012e

Please sign in to comment.