summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-08-05 04:48:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:26 -0500
commit6014bb000e77e2522cb35110af881b9b0ccc9ed5 (patch)
tree3e6e7ab91749e52f70ad17cd204753213bef5afd /source3/rpc_server
parent1a2316f6445e7dde953a2b5f1fb5931edf704b98 (diff)
downloadsamba-6014bb000e77e2522cb35110af881b9b0ccc9ed5.tar.gz
samba-6014bb000e77e2522cb35110af881b9b0ccc9ed5.tar.bz2
samba-6014bb000e77e2522cb35110af881b9b0ccc9ed5.zip
r9098: fix another usrmgr.exe crash when viewing user properties at debuglevel 10
(This used to be commit f5756c2611df5a026d78f8acb229d7c25f1fd383)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 431c672dd4..1eb4b1236d 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -1229,7 +1229,7 @@ static BOOL make_samr_lookup_rids(TALLOC_CTX *ctx, uint32 num_names,
}
for (i = 0; i < num_names; i++) {
- DEBUG(10, ("names[%d]:%s\n", i, *names[i] ? names[i] : ""));
+ DEBUG(10, ("names[%d]:%s\n", i, names[i] && *names[i] ? names[i] : ""));
init_unistr2(&uni_name[i], names[i], UNI_FLAGS_NONE);
init_uni_hdr(&hdr_name[i], &uni_name[i]);
}