summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-14 19:49:38 +0200
committerVolker Lendecke <vl@samba.org>2008-05-14 19:51:29 +0200
commit8113bb07a8eaee2bce1290bff1f06856bc7c76e6 (patch)
tree5f30a553ee68563c9f330ac2710c124efde75754
parentd5d9476c351d49882efcf3faf805ffaabd2e0df4 (diff)
downloadsamba-8113bb07a8eaee2bce1290bff1f06856bc7c76e6.tar.gz
samba-8113bb07a8eaee2bce1290bff1f06856bc7c76e6.tar.bz2
samba-8113bb07a8eaee2bce1290bff1f06856bc7c76e6.zip
Fix an uninitialized variable introduced by 3045d391
Simo, please check! Volker (This used to be commit 0c09d28acf42400d26cc27675e37226060de26d3)
-rw-r--r--source4/libcli/resolve/resolve.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/resolve/resolve.c b/source4/libcli/resolve/resolve.c
index aaf9ff1f8d..d89b50e430 100644
--- a/source4/libcli/resolve/resolve.c
+++ b/source4/libcli/resolve/resolve.c
@@ -137,8 +137,7 @@ struct composite_context *resolve_name_send(struct resolve_context *ctx,
struct resolve_state *state;
if (ctx == NULL || event_ctx == NULL) {
- composite_error(c, NT_STATUS_INVALID_PARAMETER);
- return c;
+ return NULL;
}
c = composite_create(ctx, event_ctx);