diff options
author | Gerald W. Carter <jerry@samba.org> | 2008-06-28 09:35:07 -0400 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-06-28 09:36:30 -0400 |
commit | 893e3522fc9a9cb1ef677ce1232525f51a8cc95e (patch) | |
tree | f9485fe3585e7cdab005bf8a7dca63efd6f1ecad /source3 | |
parent | cf9665016f70aff9a5d6ec7ab427e469f43dbfc6 (diff) | |
download | samba-893e3522fc9a9cb1ef677ce1232525f51a8cc95e.tar.gz samba-893e3522fc9a9cb1ef677ce1232525f51a8cc95e.tar.bz2 samba-893e3522fc9a9cb1ef677ce1232525f51a8cc95e.zip |
Return NULL in sitename_fetch() if gencache_init() fails. Not false
(This used to be commit 8704c2ab37479236788c0a99465d73643d3d555a)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libads/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |