mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
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>
This commit is contained in:
committed by
Michael Adam
parent
af573af0ff
commit
c689547c93
@ -12,6 +12,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);
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
@ -64,6 +65,7 @@ int main(int argc, const char *argv[])
|
||||
|
||||
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)
|
||||
{
|
||||
unsigned num;
|
||||
|
Reference in New Issue
Block a user