summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-21 13:28:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:59 -0500
commitead21a53ae51e9cff726e4901c49fe5109734ad6 (patch)
treeb5519c10bea46bdd412e037bf0a193097427a2c2 /source3/rpc_server
parentc63be3a4e7909cc3f71fcad6d134a7bb2fc19529 (diff)
downloadsamba-ead21a53ae51e9cff726e4901c49fe5109734ad6.tar.gz
samba-ead21a53ae51e9cff726e4901c49fe5109734ad6.tar.bz2
samba-ead21a53ae51e9cff726e4901c49fe5109734ad6.zip
r19819: Windows returns an empty string instead of NULL here
(This used to be commit c1083216c83f4236edb78484c6333ff1d1646c40)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_winreg_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c
index f733b14c63..c45be08454 100644
--- a/source3/rpc_server/srv_winreg_nt.c
+++ b/source3/rpc_server/srv_winreg_nt.c
@@ -572,7 +572,7 @@ WERROR _winreg_EnumKey(pipes_struct *p, struct policy_handle *handle, uint32_t e
if ( last_changed_time ) {
*last_changed_time = 0;
}
- keyclass->name = NULL;
+ keyclass->name = "";
if ( (name->name = talloc_strdup( p->mem_ctx, subkey )) == NULL ) {
status = WERR_NOMEM;
}