]> git.tuebingen.mpg.de Git - paraslash.git/commit
Rework para_accept().
authorAndre Noll <maan@systemlinux.org>
Sun, 25 Apr 2010 18:01:06 +0000 (20:01 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 25 Apr 2010 18:01:06 +0000 (20:01 +0200)
commit8dab386f87d2998fd26126600ca7faf56d5a35d1
tree367ec7832c3a1cfb7e36fd6c25a166e44b9b6ffa
parent8a63543fdfbd3b5d00e4afecfbc397795a49ed04
Rework para_accept().

Make it take an fd_set pointer and check the fd for readability
within para_accept() rather than in each caller. Also, don't return
an error on EAGAIN.

Fix all callers accordingly. Most of them become a bit simpler due
to this change.
afs.c
audiod.c
audiod.h
audiod_command.c
dccp_send.c
http_send.c
net.c
net.h
send.h
send_common.c
server.c