Remove the bird waste
This commit is contained in:
parent
0b83e2c1dc
commit
93e4445f24
2 changed files with 0 additions and 6 deletions
|
@ -109,8 +109,6 @@ int skipstone_message_service_run(skipstone_message_service *service,
|
||||||
goto error_io;
|
goto error_io;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Got message %hu\n", id);
|
|
||||||
|
|
||||||
if ((endpoint = skipstone_map_get(service->endpoints, id)) != NULL) {
|
if ((endpoint = skipstone_map_get(service->endpoints, id)) != NULL) {
|
||||||
if (endpoint->handler(service, buf, size, id) < 0) {
|
if (endpoint->handler(service, buf, size, id) < 0) {
|
||||||
goto error_io;
|
goto error_io;
|
||||||
|
@ -118,7 +116,6 @@ int skipstone_message_service_run(skipstone_message_service *service,
|
||||||
}
|
}
|
||||||
|
|
||||||
while (skipstone_queue_remove(service->pending, (void **)&message)) {
|
while (skipstone_queue_remove(service->pending, (void **)&message)) {
|
||||||
printf("Sending message %hu\n", message->id);
|
|
||||||
if (skipstone_link_send(link, message + 1, message->size, message->id) < 0) {
|
if (skipstone_link_send(link, message + 1, message->size, message->id) < 0) {
|
||||||
goto error_io;
|
goto error_io;
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,8 +109,6 @@ int skipstone_message_service_run(skipstone_message_service *service,
|
||||||
goto error_io;
|
goto error_io;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Got message %hu\n", id);
|
|
||||||
|
|
||||||
if ((endpoint = skipstone_map_get(service->endpoints, id)) != NULL) {
|
if ((endpoint = skipstone_map_get(service->endpoints, id)) != NULL) {
|
||||||
if (endpoint->handler(service, buf, size, id) < 0) {
|
if (endpoint->handler(service, buf, size, id) < 0) {
|
||||||
goto error_io;
|
goto error_io;
|
||||||
|
@ -118,7 +116,6 @@ int skipstone_message_service_run(skipstone_message_service *service,
|
||||||
}
|
}
|
||||||
|
|
||||||
while (skipstone_queue_remove(service->pending, (void **)&message)) {
|
while (skipstone_queue_remove(service->pending, (void **)&message)) {
|
||||||
printf("Sending message %hu\n", message->id);
|
|
||||||
if (skipstone_link_send(link, message + 1, message->size, message->id) < 0) {
|
if (skipstone_link_send(link, message + 1, message->size, message->id) < 0) {
|
||||||
goto error_io;
|
goto error_io;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue