diff options
author | linus <linus@nordu.net> | 2011-01-20 10:02:52 +0100 |
---|---|---|
committer | linus <linus@nordu.net> | 2011-01-20 10:02:52 +0100 |
commit | fb3c040c7b5fcf1a3446a36f0e6cea3ccfeebbda (patch) | |
tree | 5fbd03da0eb2beac8ff2da0ad53f92166326cdb5 /lib/tests/udp-server.c | |
parent | 75732c2f1247725bf512b152450306157b56d78f (diff) |
Rename external functions in UDP test files.
Diffstat (limited to 'lib/tests/udp-server.c')
-rw-r--r-- | lib/tests/udp-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tests/udp-server.c b/lib/tests/udp-server.c index 9275e10..768fba0 100644 --- a/lib/tests/udp-server.c +++ b/lib/tests/udp-server.c @@ -29,9 +29,9 @@ main (int argc, char *argv[]) tv.tv_sec = TIMEOUT; tv.tv_usec = 0; - data = server (argv[1], &tv, handle_data); + data = udp_server (argv[1], &tv, handle_data); - for (i = 0, n = poll (data); n == 0 && i < 3; n = poll (data), i++) + for (i = 0, n = udp_poll (data); n == 0 && i < 3; n = udp_poll (data), i++) { fprintf (stderr, "waiting another %ld second%s\n", tv.tv_sec, tv.tv_sec > 1 ? "s" : ""); |