summaryrefslogtreecommitdiff
path: root/lib/examples/client-blocking.c
diff options
context:
space:
mode:
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 bb9e653..66f4859 100644
--- a/lib/examples/client-blocking.c
+++ b/lib/examples/client-blocking.c
@@ -63,9 +63,9 @@ blocking_client (const char *av1, const char *av2)
{
struct rs_request *request;
- if (rs_request_new (conn, &request))
+ if (rs_request_create (conn, &request))
return rs_err_conn_pop (conn);
- if (rs_req_send (request, req, &resp))
+ if (rs_request_send (request, req, &resp))
return rs_err_conn_pop (conn);
rs_request_destroy (request);
}