summaryrefslogtreecommitdiff
path: root/lib/request.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-10-03 19:23:43 +0200
committerLinus Nordberg <linus@nordu.net>2010-10-03 19:23:43 +0200
commit63a5bc0182881d8f806a9acdf47b708492b8a41b (patch)
treea76d8b3d548e959ba1ddcb311a11638838b19df5 /lib/request.c
parent21300197afcabc90366454eaa34e67187c53d974 (diff)
Rename the error functions.
Diffstat (limited to 'lib/request.c')
-rw-r--r--lib/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/request.c b/lib/request.c
index da38015..3d4b096 100644
--- a/lib/request.c
+++ b/lib/request.c
@@ -12,7 +12,7 @@ rs_req_create (struct rs_connection *conn, struct rs_request **req_out)
{
struct rs_request *req = rs_malloc (conn->ctx, sizeof(*req));
if (!req)
- return rs_conn_err_push_fl (conn, RSE_NOMEM, __FILE__, __LINE__, NULL);
+ return rs_err_conn_push_fl (conn, RSE_NOMEM, __FILE__, __LINE__, NULL);
memset (req, 0, sizeof(*req));
req->conn = conn;
*req_out = req;