diff options
author | Linus Nordberg <linus@nordu.net> | 2010-10-10 15:53:37 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2010-10-10 15:53:37 +0200 |
commit | 8a676ab2d88022aea68a2a31ac83dfe25d64e175 (patch) | |
tree | 5d644805b69e8dab4d44ed010706ccdb0e00a7d3 /lib/err.c | |
parent | 5d1a02eb41025020b8c25ab927baca978fb733a9 (diff) |
Robustness fixes (and some callback invocation) by Luke Howard.
* lib/packet.c (_packet_create): Set packet identity properly.
(_do_send): Return an int.
(_do_send): Don't ignore rad_encode() errors.
(_do_send): Do invoke rad_sign().
(_event_cb): Invoke callbacks.
(_event_cb): Honour _do_send() return code.
(_read_cb): Check packet (by invoking rad_packet_ok()).
(_read_cb): Don't ignore rad_decode() errors.
(_read_cb): Invoke callbacks.
Diffstat (limited to 'lib/err.c')
0 files changed, 0 insertions, 0 deletions