summaryrefslogtreecommitdiff
path: root/type_decoder.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-26 01:15:10 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-26 01:15:10 +0100
commit7a1712c4fd07f64222079acd5ec3fa3348a5cb15 (patch)
tree18c1c2c83dfcf65947ce91c663c74329c5163533 /type_decoder.c
parent3a8b2e789262545fe409f95f69319b80e66aac13 (diff)
downloadlibsigrokdecode-7a1712c4fd07f64222079acd5ec3fa3348a5cb15.tar.gz
libsigrokdecode-7a1712c4fd07f64222079acd5ec3fa3348a5cb15.zip
srd: Remove manual log domain ("srd: ") prefixes.
Diffstat (limited to 'type_decoder.c')
-rw-r--r--type_decoder.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/type_decoder.c b/type_decoder.c
index 6e34dff..6ed2787 100644
--- a/type_decoder.c
+++ b/type_decoder.c
@@ -97,7 +97,7 @@ static PyObject *Decoder_put(PyObject *self, PyObject *args)
if (!(di = srd_instance_find_by_obj(NULL, self))) {
/* Shouldn't happen. */
- srd_dbg("srd: put(): self instance not found.");
+ srd_dbg("put(): self instance not found.");
return NULL;
}
@@ -114,8 +114,9 @@ static PyObject *Decoder_put(PyObject *self, PyObject *args)
}
pdo = l->data;
- srd_spew("srd: instance %s put %d-%d %s on oid %d", di->instance_id,
- start_sample, end_sample, OUTPUT_TYPES[pdo->output_type], output_id);
+ srd_spew("Instance %s put %d-%d %s on oid %d.", di->instance_id,
+ start_sample, end_sample, OUTPUT_TYPES[pdo->output_type],
+ output_id);
if (!(pdata = g_try_malloc0(sizeof(struct srd_proto_data))))
return NULL;
@@ -141,8 +142,8 @@ static PyObject *Decoder_put(PyObject *self, PyObject *args)
next_di = l->data;
/* TODO: is this needed? */
Py_XINCREF(next_di->py_instance);
- srd_spew("srd: sending %d-%d to instance %s",
- start_sample, end_sample, next_di->instance_id);
+ srd_spew("Sending %d-%d to instance %s",
+ start_sample, end_sample, next_di->instance_id);
if (!(py_res = PyObject_CallMethod(next_di->py_instance, "decode",
"KKO", start_sample, end_sample, data))) {
catch_exception("calling %s decode(): ", next_di->instance_id);