mirror of
https://github.com/samba-team/samba.git
synced 2025-11-02 20:23:50 +03:00
dsgetdcname: allow to use NULL mem_ctx.
Guenther
This commit is contained in:
@@ -119,7 +119,7 @@ void debug_dsdcinfo_flags(int lvl, uint32_t flags)
|
||||
|
||||
static char *dsgetdcname_cache_key(TALLOC_CTX *mem_ctx, const char *domain)
|
||||
{
|
||||
if (!mem_ctx || !domain) {
|
||||
if (!domain) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user