fix bug in message broadcast?
This commit is contained in:
parent
60e606bf12
commit
b318fea528
1 changed files with 2 additions and 0 deletions
2
server.c
2
server.c
|
@ -306,6 +306,8 @@ int bus_broadcast_message(bus_t *s, wire_message_t *msg, wire_context_t *ctx, ch
|
|||
TRYST(wire_compose_unicast_reply(reply_ctx, ctx, msg, sender_unique_name));
|
||||
TRYST(send(c->fd, reply_ctx->data, reply_ctx->byte_cursor, 0));
|
||||
ctx->byte_cursor = previous_cursor;
|
||||
// TODO?
|
||||
reply_ctx->byte_cursor = 0;
|
||||
memset(reply_ctx->data, 0, reply_ctx->data_len);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue