summaryrefslogtreecommitdiff
path: root/src/daemon/gnuserv.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1999-07-30 21:03:22 +0000
committerMartin Baulig <martin@src.gnome.org>1999-07-30 21:03:22 +0000
commit91524799817c968c54d969dfdb17f2893de0ac57 (patch)
treebff836289c058c5afab1123919a5f3224b52e751 /src/daemon/gnuserv.c
parent2814206ffa858ee32f37e70b94e1ddb72a2857f7 (diff)
downloadlibgtop-91524799817c968c54d969dfdb17f2893de0ac57.tar.gz
Fixed all warnings.
Diffstat (limited to 'src/daemon/gnuserv.c')
-rw-r--r--src/daemon/gnuserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/gnuserv.c b/src/daemon/gnuserv.c
index 7df0a7ef..a1e64f1e 100644
--- a/src/daemon/gnuserv.c
+++ b/src/daemon/gnuserv.c
@@ -243,7 +243,7 @@ permitted (u_long host_addr, int fd)
if (enable_debug)
syslog_message (LOG_DEBUG, "Trying %lx - %lx",
host_addr, permitted_hosts [i]);
- if (permitted_hosts [i] == NULL)
+ if (permitted_hosts [i] == 0L)
return (FALSE);
if (host_addr == permitted_hosts [i])
return (TRUE);