summaryrefslogtreecommitdiff
path: root/lib/examples
diff options
context:
space:
mode:
authorlinus <linus@nordu.net>2011-01-21 16:31:13 +0100
committerlinus <linus@nordu.net>2011-01-21 16:31:13 +0100
commit7b928a0509a668b99679a1bbedd189575fe71559 (patch)
tree40c25c3c9246502f8051b12870d460f5d932bf9b /lib/examples
parent7d178c5333cf9a5ed3806eed4db83014d0f37a65 (diff)
Follow API changes.
Diffstat (limited to 'lib/examples')
-rw-r--r--lib/examples/client-blocking.c6
1 files changed, 3 insertions, 3 deletions
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)