diff options
author | Linus Nordberg <linus@nordu.net> | 2011-03-06 14:44:27 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-03-06 14:44:27 +0100 |
commit | fda0bfd44f940688f85fe3a99a0c8cd91611452f (patch) | |
tree | 2d45494df9aca12e831fccdbe1a7524372e479ae /lib | |
parent | f87be530d67823a5d82367468e33d58b201ebee1 (diff) |
Cosmetic changes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/packet.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/packet.c b/lib/packet.c index d025027..9874dee 100644 --- a/lib/packet.c +++ b/lib/packet.c @@ -330,9 +330,9 @@ _read_packet (struct rs_packet *pkt) Inform upper layer about successful reception of valid RADIUS message by invoking conn->callbacks.recevied_cb(), if !NULL. */ static void -_read_cb (struct bufferevent *bev, void *ctx) +_read_cb (struct bufferevent *bev, void *user_data) { - struct rs_packet *pkt = (struct rs_packet *) ctx; + struct rs_packet *pkt = (struct rs_packet *) user_data; assert (pkt); assert (pkt->conn); @@ -765,21 +765,21 @@ rs_conn_receive_packet (struct rs_connection *conn, } void -rs_packet_add_attr(struct rs_packet *pkt, struct rs_attr *attr) +rs_packet_add_attr (struct rs_packet *pkt, struct rs_attr *attr) { pairadd (&pkt->rpkt->vps, attr->vp); attr->pkt = pkt; } struct radius_packet * -rs_packet_frpkt(struct rs_packet *pkt) +rs_packet_frpkt (struct rs_packet *pkt) { assert (pkt); return pkt->rpkt; } void -rs_packet_destroy(struct rs_packet *pkt) +rs_packet_destroy (struct rs_packet *pkt) { if (pkt) { |