summaryrefslogtreecommitdiffstats
path: root/source3/lib/unix_msg/tests.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-06-23 17:16:32 +0200
committerMichael Adam <obnox@samba.org>2014-09-24 08:44:11 +0200
commitc689547c9370967b3eecf0ea88252ad86f0234bf (patch)
tree0f1eac207860eff097a6afbf240061994f9386fa /source3/lib/unix_msg/tests.c
parentaf573af0ff2fed6a9ce6f3cbd27e32c62d5884eb (diff)
downloadsamba-c689547c9370967b3eecf0ea88252ad86f0234bf.tar.gz
samba-c689547c9370967b3eecf0ea88252ad86f0234bf.tar.xz
samba-c689547c9370967b3eecf0ea88252ad86f0234bf.zip
s3:unix_msg: pass the fd array to the unix_msg recv_callback function
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib/unix_msg/tests.c')
-rw-r--r--source3/lib/unix_msg/tests.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/unix_msg/tests.c b/source3/lib/unix_msg/tests.c
index 37ff3040a4..a213cc22a6 100644
--- a/source3/lib/unix_msg/tests.c
+++ b/source3/lib/unix_msg/tests.c
@@ -11,6 +11,7 @@ struct cb_state {
static void recv_cb(struct unix_msg_ctx *ctx,
uint8_t *msg, size_t msg_len,
+ int *fds, size_t num_fds,
void *private_data);
static void expect_messages(struct tevent_context *ev, struct cb_state *state,
@@ -225,6 +226,7 @@ int main(void)
static void recv_cb(struct unix_msg_ctx *ctx,
uint8_t *msg, size_t msg_len,
+ int *fds, size_t num_fds,
void *private_data)
{
struct cb_state *state = (struct cb_state *)private_data;