From 7a1712c4fd07f64222079acd5ec3fa3348a5cb15 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 26 Jan 2012 01:15:10 +0100 Subject: srd: Remove manual log domain ("srd: ") prefixes. --- exception.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'exception.c') diff --git a/exception.c b/exception.c index 07ffab3..aa7ab61 100644 --- a/exception.c +++ b/exception.c @@ -41,8 +41,8 @@ void catch_exception(const char *format, ...) PyErr_NormalizeException(&etype, &evalue, &etb); if (!(py_str = PyObject_Str(evalue))) { - /* Shouldn't happen */ - srd_dbg("srd: failed to convert exception value to string"); + /* Shouldn't happen. */ + srd_dbg("Failed to convert exception value to string."); return; } @@ -74,8 +74,7 @@ void catch_exception(const char *format, ...) py_tb->tb_frame->f_code->co_name); py_str_as_str(py_str, &tracestr); Py_DecRef(py_str); - g_string_printf(msg, "srd: %s in %s: %s", ename, - tracestr, str); + g_string_printf(msg, "%s in %s: %s", ename, tracestr, str); srd_dbg(msg->str); g_free(tracestr); } -- cgit v1.2.3-70-g09d2