summaryrefslogtreecommitdiff
path: root/src/lib/sockets.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-06-08 09:45:36 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-06-08 09:59:00 +0200
commit6379a9afb131ed95ca7073299e4e365e2a4abf3b (patch)
treebeab34ccd34716e5be87140dcc35c971646745de /src/lib/sockets.c
parent91180700a44e857311ecc9eadbfc27c7f9b802cb (diff)
downloadouroboros-6379a9afb131ed95ca7073299e4e365e2a4abf3b.tar.gz
ouroboros-6379a9afb131ed95ca7073299e4e365e2a4abf3b.zip
lib: Fix rollover and return value in FRCT
The __frct_rcv should return -EAGAIN if there is no packet for the application, but 0 was always returned. Also fixes sequence number rollover. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/lib/sockets.c')
0 files changed, 0 insertions, 0 deletions