diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-30 06:20:43 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-30 06:20:43 +0000 |
commit | 912c29fd8ce3fc324e8cadcb2907b745894b3b4f (patch) | |
tree | ef68e9261005caff6220bc189d3df95b782d630f | |
parent | eea468918eacb5840a108477cbbff00779a36240 (diff) |
Undo using the sreadfrom() wrapper to replace recvfrom() in our code, for real ;-)
-rw-r--r-- | tests/server/tftpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c index 0fe18a2c7..773751970 100644 --- a/tests/server/tftpd.c +++ b/tests/server/tftpd.c @@ -515,8 +515,8 @@ int main(int argc, char **argv) do { fromlen = sizeof(from); - n = (ssize_t)sreadfrom(sock, buf, sizeof(buf), 0, - (struct sockaddr *)&from, &fromlen); + n = (ssize_t)recvfrom(sock, buf, sizeof(buf), 0, + (struct sockaddr *)&from, &fromlen); if (n < 0) { logmsg("recvfrom:\n"); result = 3; |