summaryrefslogtreecommitdiff
path: root/lib/tests/udp-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/udp-server.c')
-rw-r--r--lib/tests/udp-server.c4
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" : "");