summaryrefslogtreecommitdiff
path: root/lib/examples/client-blocking.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-05-15 14:20:52 +0200
committerLinus Nordberg <linus@nordberg.se>2013-05-15 14:20:52 +0200
commitfba1c7d1a6418221a94965d0431bf7df0a9a74a0 (patch)
tree168d4401100181050306a635adc72d118395b391 /lib/examples/client-blocking.c
parent58f591ffc9a7d4fea5879210d56db3ca11e98f1e (diff)
WIP commit moving towards working server support.
Diffstat (limited to 'lib/examples/client-blocking.c')
-rw-r--r--lib/examples/client-blocking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/examples/client-blocking.c b/lib/examples/client-blocking.c
index d2ee9f4..82a4453 100644
--- a/lib/examples/client-blocking.c
+++ b/lib/examples/client-blocking.c
@@ -85,9 +85,9 @@ blocking_client (const char *av1, const char *av2, const char *av3,
}
else
{
- if (rs_message_create_authn_request (conn, &req, USER_NAME, USER_PW, SECRET))
+ if (rs_message_create_authn_request (conn, &req, USER_NAME, USER_PW))
goto cleanup;
- if (rs_message_send (req, NULL))
+ if (rs_message_send (req))
goto cleanup;
if (rs_conn_receive_message (conn, req, &resp))
goto cleanup;