[Bug 26516] TpDebugSender log handler conflicts with tp_debug_timestamped_log_handler

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 29 11:52:19 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=26516

--- Comment #5 from Will Thompson <will.thompson at collabora.co.uk> 2011-06-29 02:52:17 PDT ---
Hello.

+ * If timestamps should be prepended to messages (like in
+ * tp_debug_timestamped_log_handler()), tp_debug_sender_set_messages()
+ * should also be called.

That function doesn't exist.

(In reply to comment #3)
> Yeah I wondered about that. Got a nice solution in mind?

Oh, it's literally twice in the same function, not indirected through a bunch
of function calls.

Float GTimeVal now = { 0, 0 }; out to the top-level scope in the function, and
in the second branch only call g_get_current_time if now.tv_sec == 0? I don't
think you're gonna get nicer than that.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list