diff options
author | Linus Nordberg <linus@nordu.net> | 2010-10-03 19:23:43 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2010-10-03 19:23:43 +0200 |
commit | 63a5bc0182881d8f806a9acdf47b708492b8a41b (patch) | |
tree | a76d8b3d548e959ba1ddcb311a11638838b19df5 /lib/attr.c | |
parent | 21300197afcabc90366454eaa34e67187c53d974 (diff) |
Rename the error functions.
Diffstat (limited to 'lib/attr.c')
-rw-r--r-- | lib/attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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()); } |