X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=udp_recv.c;h=cc6e2049968cec0628d42cdc41066ee34294e49d;hb=181beb316afad036ac01a778544c5dec0a8d51c7;hp=4620d61a4603e46561881a3b7c0976a09c7788d9;hpb=9d24300965cbcdfddb9f63b6bc8018da50d7d8e1;p=paraslash.git diff --git a/udp_recv.c b/udp_recv.c index 4620d61a..cc6e2049 100644 --- a/udp_recv.c +++ b/udp_recv.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2005 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2005 Andre Noll , see file COPYING. */ /** \file udp_recv.c Paraslash's udp receiver */ #include @@ -72,7 +68,7 @@ static int udp_recv_post_select(__a_unused struct sched *s, void *context) ret = -E_UDP_OVERRUN; if (iovcnt == 0) goto out; - ret = readv_nonblock(rn->fd, iov, iovcnt, &s->rfds, &num_bytes); + ret = readv_nonblock(rn->fd, iov, iovcnt, &num_bytes); if (num_bytes == 0) goto out; readv_ret = ret; @@ -190,7 +186,6 @@ err: return ret; } -/** See \ref recv_init(). */ const struct receiver lsg_recv_cmd_com_udp_user_data = { .open = udp_recv_open, .close = udp_recv_close,