From: Bert Vermeulen Date: Tue, 28 Feb 2012 00:16:29 +0000 (+0100) Subject: srd: properly return status code X-Git-Tag: libsigrokdecode-0.1.0~44 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=708b3b84ea6b9ba3a60d5aa2a0ad56613ad8bbfd;p=libsigrokdecode.git srd: properly return status code --- 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; } /**