summaryrefslogtreecommitdiff
path: root/lib/send.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-01-24 08:32:23 +0100
committerLinus Nordberg <linus@nordberg.se>2013-01-24 08:32:23 +0100
commitfc22159b81c6f9c0649e03ac5be4ccbb7f6520cc (patch)
tree570aee9c709bb493a05b490f3f8f57b85e149ed7 /lib/send.c
parentd41b3758b160530490e124d84c32c1721da8d66b (diff)
Rename rs_packet_flags members.
Uppercase to make them appear as the constants they are, as opposed to variables. Remove 'flag' suffix, typically used for variables. Spell out HEADER.
Diffstat (limited to 'lib/send.c')
-rw-r--r--lib/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/send.c b/lib/send.c
index 6b887c5..e58b42c 100644
--- a/lib/send.c
+++ b/lib/send.c
@@ -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);