From 708b3b84ea6b9ba3a60d5aa2a0ad56613ad8bbfd Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Tue, 28 Feb 2012 01:16:29 +0100 Subject: srd: properly return status code --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index cd77fc1..15994d1 100644 --- a/util.c +++ b/util.c @@ -98,7 +98,7 @@ SRD_PRIV int py_dictitem_as_str(PyObject *py_obj, const char *key, ret = py_str_as_str(py_value, outstr); - return SRD_OK; + return ret; } /** -- cgit v1.2.3-70-g09d2