summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2012-02-28 01:16:29 +0100
committerBert Vermeulen <bert@biot.com>2012-02-28 14:34:53 +0100
commit708b3b84ea6b9ba3a60d5aa2a0ad56613ad8bbfd (patch)
tree9a9801dd5d6b9b7f4638c688e1e2b956da5acb9d
parente4f822680083b65e34b9c8b091025f66ea6efde6 (diff)
downloadlibsigrokdecode-708b3b84ea6b9ba3a60d5aa2a0ad56613ad8bbfd.tar.gz
libsigrokdecode-708b3b84ea6b9ba3a60d5aa2a0ad56613ad8bbfd.zip
srd: properly return status code
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
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;
}
/**