git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3688eea
)
dsgetdcname: allow to use NULL mem_ctx.
author
Günther Deschner
<gd@samba.org>
Tue, 17 Jun 2008 14:18:50 +0000
(16:18 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 17 Jun 2008 17:51:24 +0000
(19:51 +0200)
Guenther
(This used to be commit
d20353d30c2e08a6c6d67ae8b8c2faa26004249c
)
source3/libsmb/dsgetdcname.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/dsgetdcname.c
b/source3/libsmb/dsgetdcname.c
index 8d75593ddc8281d2b4d2c2d93e977a497168cfbc..2a445cbd5a7b40cee5da72216ea8cb2e2955c5ff 100644
(file)
--- 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;
}