summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-05-12 14:24:59 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-05-12 14:24:59 +0000
commite896730fe71c984f41e3cd62d2f7eadb1cf3d51b (patch)
treeefda76f07fb00174b32cdf7ba38fcab1d83cc74e
parentb5bad6eae7dd946f66cd9b5ff96bef3778f33d87 (diff)
downloadsamba-e896730fe71c984f41e3cd62d2f7eadb1cf3d51b.tar.gz
samba-e896730fe71c984f41e3cd62d2f7eadb1cf3d51b.tar.bz2
samba-e896730fe71c984f41e3cd62d2f7eadb1cf3d51b.zip
use NULL instead of 0
lkcl (This used to be commit 5582e448c94a733a1fee479ed93984314cc42a25)
-rw-r--r--source3/include/nameserv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/nameserv.h b/source3/include/nameserv.h
index 12ddd033c8..1aa1075543 100644
--- a/source3/include/nameserv.h
+++ b/source3/include/nameserv.h
@@ -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))