summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index a4268ec..6dbeb2f 100644
--- a/util.c
+++ b/util.c
@@ -46,7 +46,7 @@ SRD_PRIV int py_attr_as_str(const PyObject *py_obj, const char *attr,
}
if (!(py_str = PyObject_GetAttrString((PyObject *)py_obj, attr))) {
- catch_exception("");
+ srd_exception_catch("");
return SRD_ERR_PYTHON;
}
@@ -150,7 +150,7 @@ err_out:
Py_XDECREF(py_encstr);
if (PyErr_Occurred()) {
- catch_exception("string conversion failed");
+ srd_exception_catch("string conversion failed");
}
return ret;