]> The Tcpdump Group git mirrors - tcpdump/commitdiff
NULL is not 0
authoritojun <itojun>
Sun, 8 Jul 2001 08:01:43 +0000 (08:01 +0000)
committeritojun <itojun>
Sun, 8 Jul 2001 08:01:43 +0000 (08:01 +0000)
print-nfs.c

index 88b5836dbcaf5f6aa057d329ac08009eda536a73..c135486693a055d37cf675c6045e870c6469cc5e 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.88 2001-07-04 19:24:10 fenner Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.89 2001-07-08 08:01:43 itojun Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -1205,7 +1205,7 @@ parserddires(const u_int32_t *dp)
        int er;
 
        dp = parsestatus(dp, &er);
-       if (dp == 0 || er)
+       if (dp == NULL || er)
                return (0);
        if (qflag)
                return (1);