git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf96650
)
Return NULL in sitename_fetch() if gencache_init() fails. Not false
author
Gerald W. Carter
<jerry@samba.org>
Sat, 28 Jun 2008 13:35:07 +0000
(09:35 -0400)
committer
Gerald W. Carter
<jerry@samba.org>
Sat, 28 Jun 2008 13:36:30 +0000
(09:36 -0400)
(This used to be commit
8704c2ab37479236788c0a99465d73643d3d555a
)
source3/libads/dns.c
patch
|
blob
|
history
diff --git
a/source3/libads/dns.c
b/source3/libads/dns.c
index fe0e6d3e86dbd3bc298351ee4e6c322b0d9ee393..3a9e8496685b165e40b1166931f99c793e4f48e0 100644
(file)
--- 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)) {