use NULL instead of 0
authorSamba Release Account <samba-bugs@samba.org>
Mon, 12 May 1997 14:24:59 +0000 (14:24 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Mon, 12 May 1997 14:24:59 +0000 (14:24 +0000)
lkcl
(This used to be commit 5582e448c94a733a1fee479ed93984314cc42a25)

source3/include/nameserv.h

index 12ddd033c8aa93835855887b6e82e4d17165e7ae..1aa1075543f2b73f719681ecbb707d11c68b0978 100644 (file)
@@ -422,7 +422,7 @@ extern struct subnet_record *wins_subnet;
 
 #define FIRST_SUBNET subnetlist
 #define NEXT_SUBNET_EXCLUDING_WINS(x) ((x)->next)
-#define NEXT_SUBNET_INCLUDING_WINS(x) ( ((x) == wins_subnet) ? 0 : \
-                                        (((x)->next == 0) ? wins_subnet : \
+#define NEXT_SUBNET_INCLUDING_WINS(x) ( ((x) == wins_subnet) ? NULL : \
+                                        (((x)->next == NULL) ? wins_subnet : \
                                          (x)->next))