1
0
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:
Günther Deschner
2008-06-17 16:18:50 +02:00
parent 132b038581
commit d20353d30c

View File

@@ -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;
}