summaryrefslogtreecommitdiff
path: root/tests/linger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/linger.cpp')
-rw-r--r--tests/linger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/linger.cpp b/tests/linger.cpp
index a016496..8300394 100644
--- a/tests/linger.cpp
+++ b/tests/linger.cpp
@@ -25,7 +25,7 @@ int XS_TEST_MAIN ()
fprintf (stderr, "linger test running...\n");
// Create socket.
- void *ctx = xs_init (1);
+ void *ctx = xs_init ();
assert (ctx);
void *s = xs_socket (ctx, XS_PUSH);
assert (s);