From 893e3522fc9a9cb1ef677ce1232525f51a8cc95e Mon Sep 17 00:00:00 2001 From: "Gerald W. Carter" Date: Sat, 28 Jun 2008 09:35:07 -0400 Subject: Return NULL in sitename_fetch() if gencache_init() fails. Not false (This used to be commit 8704c2ab37479236788c0a99465d73643d3d555a) --- source3/libads/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libads/dns.c') diff --git a/source3/libads/dns.c b/source3/libads/dns.c index fe0e6d3e86..3a9e849668 100644 --- a/source3/libads/dns.c +++ b/source3/libads/dns.c @@ -796,7 +796,7 @@ char *sitename_fetch(const char *realm) char *key; if (!gencache_init()) { - return False; + return NULL; } if (!realm || (strlen(realm) == 0)) { -- cgit