diff options
author | Günther Deschner <gd@samba.org> | 2008-06-17 16:18:50 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-17 19:51:24 +0200 |
commit | 513bc4e791676e18c448c21c5392cb9b05a49fa4 (patch) | |
tree | 901233aa682f7d9217a364e6bd50427b47b68654 | |
parent | 3688eeafa3679cec0d0b0954206d91d14f21a050 (diff) | |
download | samba-513bc4e791676e18c448c21c5392cb9b05a49fa4.tar.gz samba-513bc4e791676e18c448c21c5392cb9b05a49fa4.tar.bz2 samba-513bc4e791676e18c448c21c5392cb9b05a49fa4.zip |
dsgetdcname: allow to use NULL mem_ctx.
Guenther
(This used to be commit d20353d30c2e08a6c6d67ae8b8c2faa26004249c)
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index 8d75593ddc..2a445cbd5a 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -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; } |