Bump liberty, termo

This commit is contained in:
Přemysl Eric Janouch 2016-03-14 21:32:33 +01:00
parent 74e10057f0
commit 688475bace
3 changed files with 8 additions and 8 deletions

View File

@ -64,7 +64,7 @@ struct client
ev_io read_watcher; ///< Client readability watcher
ev_io write_watcher; ///< Client writability watcher
struct msg_reader msg_reader; ///< Client message reader
write_queue_t write_queue; ///< Write queue
struct write_queue write_queue; ///< Write queue
};
#define BITMAP_PIXEL(app, x, y) (app)->bitmap[(y) * (app)->bitmap_w + (x)]
@ -85,7 +85,7 @@ struct app_context
ev_io server_read_watcher; ///< Server readability watcher
ev_io server_write_watcher; ///< Server writability watcher
struct msg_reader msg_reader; ///< Server message reader
write_queue_t write_queue; ///< Server write queue
struct write_queue write_queue; ///< Server write queue
bool no_wait; ///< Don't wait for server confirmations
@ -168,10 +168,10 @@ read_loop (EV_P_ ev_io *watcher,
}
static bool
flush_queue (write_queue_t *queue, ev_io *watcher)
flush_queue (struct write_queue *queue, ev_io *watcher)
{
struct iovec vec[queue->len], *vec_iter = vec;
for (write_req_t *iter = queue->head; iter; iter = iter->next)
for (struct write_req *iter = queue->head; iter; iter = iter->next)
*vec_iter++ = iter->data;
ssize_t written;
@ -196,10 +196,10 @@ skip:
return true;
}
static write_req_t *
static struct write_req *
flush_writer (struct msg_writer *writer)
{
write_req_t *req = xcalloc (1, sizeof *req);
struct write_req *req = xcalloc (1, sizeof *req);
req->data.iov_base = msg_writer_flush (writer, &req->data.iov_len);
return req;
}

@ -1 +1 @@
Subproject commit 8c6d18757d2d4135963f3dbab6d2d5ec8c8b6af3
Subproject commit 3cc975bb2a80ebe5b451d268ae0562f1a0cbe126

2
termo

@ -1 +1 @@
Subproject commit b5c042e11f24c7791333c308f21beba14714ef47
Subproject commit 1f2a32ed97cdfe6a389dda5f386cc501e0cf97a1