recvfrom: fix the type of the fallthrough case
commita63534e6e6fa351d1c51b1d7cd14f916af3f835a
authorH. Peter Anvin <hpa@zytor.com>
Sat, 12 Dec 2009 00:05:48 +0000 (11 16:05 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 12 Dec 2009 00:07:10 +0000 (11 16:07 -0800)
tree09b8e72bedab8e64c0d3caae62a64a911db9552e
parente7a7b194833a5283ac5c4cf24db370e70cf2674f
recvfrom: fix the type of the fallthrough case

If we can't figure out the source address, we have the "fall on our
face" version of myrecvfrom(); make sure its prototype matches.  This
handles building on machines where sockaddr_t != int and yet there is
no way to get the source address.  This apparently affects at least
one version of Solaris.

Reported-by: Georg Schwarz <georg.schwarz@freenet.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
tftpd/recvfrom.c