Mercurial > pidgin
comparison libpurple/protocols/gg/lib/common.c @ 29920:a4662fd44a7e
gg: Fix 05793e8aa in a way that is upstream-able
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 13 May 2010 02:58:31 +0000 |
parents | eb8b1cfd3349 |
children | a8cc50c2279f |
comparison
equal
deleted
inserted
replaced
29919:716d6bb38829 | 29920:a4662fd44a7e |
---|---|
99 * \param sess Struktura sesji (może być \c NULL) | 99 * \param sess Struktura sesji (może być \c NULL) |
100 * \param level Poziom informacji | 100 * \param level Poziom informacji |
101 * \param format Format wiadomości (zgodny z \c printf) | 101 * \param format Format wiadomości (zgodny z \c printf) |
102 * \param ap Lista argumentów (zgodna z \c printf) | 102 * \param ap Lista argumentów (zgodna z \c printf) |
103 */ | 103 */ |
104 static void gg_debug_common(struct gg_session *sess, int level, const char *format, va_list ap) | 104 void gg_debug_common(struct gg_session *sess, int level, const char *format, va_list ap) |
105 { | 105 { |
106 if (gg_debug_handler_session) | 106 if (gg_debug_handler_session) |
107 (*gg_debug_handler_session)(sess, level, format, ap); | 107 (*gg_debug_handler_session)(sess, level, format, ap); |
108 else if (gg_debug_handler) | 108 else if (gg_debug_handler) |
109 (*gg_debug_handler)(level, format, ap); | 109 (*gg_debug_handler)(level, format, ap); |