From 63a5bc0182881d8f806a9acdf47b708492b8a41b Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sun, 3 Oct 2010 19:23:43 +0200 Subject: Rename the error functions. --- lib/attr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/attr.c') 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()); } -- cgit v1.1