diff options
Diffstat (limited to 'lib/send.c')
-rw-r--r-- | lib/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -67,7 +67,7 @@ _wcb (void *user_data) { struct rs_packet *pkt = (struct rs_packet *) user_data; assert (pkt); - pkt->flags |= rs_packet_sent_flag; + pkt->flags |= RS_PACKET_SENT; if (pkt->conn->bev) bufferevent_disable (pkt->conn->bev, EV_WRITE|EV_READ); else @@ -127,7 +127,7 @@ rs_packet_send (struct rs_packet *pkt, void *user_data) conn->callbacks.sent_cb = NULL; conn->user_data = NULL; - if ((pkt->flags & rs_packet_sent_flag) == 0) + if ((pkt->flags & RS_PACKET_SENT) == 0) { assert (rs_err_conn_peek_code (conn)); return rs_err_conn_peek_code (conn); |