From 95418690030cf77bc49001675094625ff65c4e50 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 30 Mar 2015 01:38:11 +0200 Subject: Minor cosmetics. --- decoder/runtc.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'decoder/runtc.c') diff --git a/decoder/runtc.c b/decoder/runtc.c index 05ddfd2..2d0d5e3 100644 --- a/decoder/runtc.c +++ b/decoder/runtc.c @@ -149,9 +149,11 @@ static void usage(char *msg) } -/* This is a neutered version of libsigrokdecode's py_str_as_str(). It +/* + * This is a neutered version of libsigrokdecode's py_str_as_str(). It * does no error checking, but then the only strings it processes are - * generated by Python's repr(), so are known good. */ + * generated by Python's repr(), so are known good. + */ static char *py_str_as_str(const PyObject *py_str) { PyObject *py_encstr; @@ -435,8 +437,10 @@ static int run_testcase(char *infile, GSList *pdlist, struct output *op) g_hash_table_destroy(channels); } - /* If this is not the first decoder in the list, stack it - * on top of the previous one. */ + /* + * If this is not the first decoder in the list, stack it + * on top of the previous one. + */ if (prev_di) { if (srd_inst_stack(sess, prev_di, di) != SRD_OK) { ERR("Failed to stack decoder instances."); @@ -541,7 +545,7 @@ static struct cvg *get_mod_cov(PyObject *py_cov, char *module_name) py_pathlist = PyObject_GetAttrString(py_mod, "__path__"); for (i = 0; i < PyList_Size(py_pathlist); i++) { py_path = PyList_GetItem(py_pathlist, i); - PyUnicode_FSConverter(PyList_GetItem(py_pathlist, i), &py_path); + PyUnicode_FSConverter(PyList_GetItem(py_pathlist, i), &py_path); path = PyBytes_AS_STRING(py_path); if (!(d = opendir(path))) { ERR("Invalid module path '%s'", path); -- cgit v1.2.3-54-g00ecf