From 7b928a0509a668b99679a1bbedd189575fe71559 Mon Sep 17 00:00:00 2001 From: linus Date: Fri, 21 Jan 2011 16:31:13 +0100 Subject: Follow API changes. --- lib/examples/client-blocking.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/examples') diff --git a/lib/examples/client-blocking.c b/lib/examples/client-blocking.c index 39792b7..6467055 100644 --- a/lib/examples/client-blocking.c +++ b/lib/examples/client-blocking.c @@ -12,8 +12,8 @@ #endif #define SECRET "sikrit" -#define USER_NAME "bob" -#define USER_PW "hemligt" +#define USER_NAME "molgan" +#define USER_PW "password" struct rs_error * blocking_client (const char *av1, const char *av2) @@ -48,7 +48,7 @@ blocking_client (const char *av1, const char *av2) return rs_err_conn_pop (conn); #endif /* USE_CONFIG_FILE */ - if (rs_packet_create_acc_request (conn, &req, USER_NAME, USER_PW)) + if (rs_packet_create_auth_request (conn, &req, USER_NAME, USER_PW)) return rs_err_conn_pop (conn); #if !defined(USE_REQUEST_OBJECT) -- cgit v1.1