From aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 25 Mar 2012 15:08:16 +0200 Subject: srd: Some more (optional) consistency renames. --- util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util.c') 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; -- cgit v1.2.3-70-g09d2