mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
Return NULL in sitename_fetch() if gencache_init() fails. Not false
(This used to be commit 8704c2ab37479236788c0a99465d73643d3d555a)
This commit is contained in:
parent
cf9665016f
commit
893e3522fc
@ -796,7 +796,7 @@ char *sitename_fetch(const char *realm)
|
||||
char *key;
|
||||
|
||||
if (!gencache_init()) {
|
||||
return False;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!realm || (strlen(realm) == 0)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user