summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-11-19 22:36:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:30 -0500
commit957869d2f473a5c63ea1e52ee628b929ad2208e7 (patch)
treee8605b90ff09ff4bf43dfab533c976add83ddb6f /source4
parent82b4335dd28ddf2da46eb642f31e60593f2efd58 (diff)
downloadsamba-957869d2f473a5c63ea1e52ee628b929ad2208e7.tar.gz
samba-957869d2f473a5c63ea1e52ee628b929ad2208e7.tar.bz2
samba-957869d2f473a5c63ea1e52ee628b929ad2208e7.zip
r11806: Minor cleanup
(This used to be commit e75080b26d76199a6006fb076cf816ac023254ee)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc_auth.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source4/librpc/rpc/dcerpc_auth.c b/source4/librpc/rpc/dcerpc_auth.c
index a5a90052ae..117112c197 100644
--- a/source4/librpc/rpc/dcerpc_auth.c
+++ b/source4/librpc/rpc/dcerpc_auth.c
@@ -47,17 +47,14 @@ struct composite_context *dcerpc_bind_auth_none_send(TALLOC_CTX *mem_ctx,
if (!NT_STATUS_IS_OK(c->status)) {
DEBUG(2,("Invalid uuid string in "
"dcerpc_bind_auth_none_send\n"));
- goto failed;
+ composite_trigger_error(c);
+ return c;
}
/* c was only allocated as a container for a possible error */
talloc_free(c);
return dcerpc_bind_send(p, mem_ctx, &syntax, &transfer_syntax);
-
- failed:
- composite_trigger_error(c);
- return c;
}
NTSTATUS dcerpc_bind_auth_none_recv(struct composite_context *ctx)