summaryrefslogtreecommitdiff
path: root/exception.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-03-15 22:00:24 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-18 14:34:22 +0100
commit361fdcaafec8ddd37f0d381204e4c2a22c56b238 (patch)
tree3ec78b57af80df493faf87048ee6f85f06f205ba /exception.c
parented2306a6f29bc4d85f5f248c83fff252b22c60a5 (diff)
downloadlibsigrokdecode-361fdcaafec8ddd37f0d381204e4c2a22c56b238.tar.gz
libsigrokdecode-361fdcaafec8ddd37f0d381204e4c2a22c56b238.zip
srd: Cosmetics, fix/add Doxygen comments.
Diffstat (limited to 'exception.c')
-rw-r--r--exception.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exception.c b/exception.c
index 1f30c80..de31c5f 100644
--- a/exception.c
+++ b/exception.c
@@ -67,7 +67,7 @@ SRD_PRIV void catch_exception(const char *format, ...)
/* Send a more precise error location to srd_dbg(), if we have it. */
if (etb && etb != Py_None) {
tracestr = NULL;
- py_tb = (PyTracebackObject *) etb;
+ py_tb = (PyTracebackObject *)etb;
py_str = PyUnicode_FromFormat("%U:%d in %U",
py_tb->tb_frame->f_code->co_filename,
py_tb->tb_frame->f_lineno,