summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_rpc.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-01-22 17:39:44 +0100
committerStefan Metzmacher <metze@samba.org>2013-01-29 21:57:18 +0100
commitb7095e9818bba8c43065cc1b1f29551203dc098b (patch)
treef143984b0b23b9c3793062f64f6efc3bf272240c /source3/winbindd/winbindd_rpc.c
parent40e3df7c37a15b28f170699ff9b8102416a9107f (diff)
downloadsamba-b7095e9818bba8c43065cc1b1f29551203dc098b.tar.gz
samba-b7095e9818bba8c43065cc1b1f29551203dc098b.tar.bz2
samba-b7095e9818bba8c43065cc1b1f29551203dc098b.zip
s3:winbindd: check the correct variable for talloc success in rpc_query_user()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_rpc.c')
-rw-r--r--source3/winbindd/winbindd_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_rpc.c b/source3/winbindd/winbindd_rpc.c
index a96dbb15db..44deeb071c 100644
--- a/source3/winbindd/winbindd_rpc.c
+++ b/source3/winbindd/winbindd_rpc.c
@@ -526,7 +526,7 @@ NTSTATUS rpc_query_user(TALLOC_CTX *mem_ctx,
user_info->full_name = talloc_strdup(user_info,
info->info21.full_name.string);
if ((info->info21.full_name.string != NULL) &&
- (user_info->acct_name == NULL))
+ (user_info->full_name == NULL))
{
return NT_STATUS_NO_MEMORY;
}