git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5bad6e
)
use NULL instead of 0
author
Samba Release Account
<samba-bugs@samba.org>
Mon, 12 May 1997 14:24:59 +0000
(14:24 +0000)
committer
Samba 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
patch
|
blob
|
history
diff --git
a/source3/include/nameserv.h
b/source3/include/nameserv.h
index 12ddd033c8aa93835855887b6e82e4d17165e7ae..1aa1075543f2b73f719681ecbb707d11c68b0978 100644
(file)
--- 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))