remove printfs
This commit is contained in:
parent
630d5d813d
commit
796630d74e
2 changed files with 1 additions and 3 deletions
2
server.c
2
server.c
|
@ -310,8 +310,6 @@ int bus_broadcast_message(bus_t *s, int sender_index, wire_message_t *msg, wire_
|
|||
|
||||
bus_client_t *sender_client = &s->clients[sender_index];
|
||||
|
||||
printf("broadcasting message of %d bytes\n", body_end);
|
||||
|
||||
int left = s->clients_count;
|
||||
for (int i = 0; i < BUS_MAX_CLIENTS && left > 0; i++) {
|
||||
if (s->clients[i].state != BUS_CLIENT_STATE_READY) {
|
||||
|
|
2
wire.c
2
wire.c
|
@ -142,7 +142,7 @@ int wire_parse_message(wire_context_t *c, wire_message_t *msg)
|
|||
msg->fields[field_code].t.u32 = u;
|
||||
} break;
|
||||
default: {
|
||||
printf("header: unknown field: %d\n", field_code);
|
||||
WARN("header: unknown field: %d\n", field_code);
|
||||
return -1;
|
||||
} break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue