summaryrefslogtreecommitdiff
path: root/lib/attr.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/attr.c
parent21300197afcabc90366454eaa34e67187c53d974 (diff)
Rename the error functions.
Diffstat (limited to 'lib/attr.c')
-rw-r--r--lib/attr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/attr.c b/lib/attr.c
index 579bf69..49735d9 100644
--- a/lib/attr.c
+++ b/lib/attr.c
@@ -13,14 +13,14 @@ rs_attr_create(struct rs_connection *conn, struct rs_attr **attr, const char *ty
*attr = NULL;
a = (struct rs_attr *) malloc (sizeof(struct rs_attr));
if (!a)
- 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 (a, 0, sizeof(struct rs_attr));
vp = pairmake (type, val, T_OP_EQ);
if (!vp)
{
rs_attr_destroy (a);
- return rs_conn_err_push_fl (conn, RSE_FR, __FILE__, __LINE__,
+ return rs_err_conn_push_fl (conn, RSE_FR, __FILE__, __LINE__,
"pairmake: %s", fr_strerror());
}