changeset 30338: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 716d6bb38829
children c3015cf1dfc0
files libpurple/protocols/gg/lib/common.c libpurple/protocols/gg/lib/libgadu-internal.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/gg/lib/common.c	Wed May 12 06:35:28 2010 +0000
+++ b/libpurple/protocols/gg/lib/common.c	Thu May 13 02:58:31 2010 +0000
@@ -101,7 +101,7 @@
  * \param format Format wiadomości (zgodny z \c printf)
  * \param ap Lista argumentów (zgodna z \c printf)
  */
-static void gg_debug_common(struct gg_session *sess, int level, const char *format, va_list ap)
+void gg_debug_common(struct gg_session *sess, int level, const char *format, va_list ap)
 {
 	if (gg_debug_handler_session)
 		(*gg_debug_handler_session)(sess, level, format, ap);
--- a/libpurple/protocols/gg/lib/libgadu-internal.h	Wed May 12 06:35:28 2010 +0000
+++ b/libpurple/protocols/gg/lib/libgadu-internal.h	Thu May 13 02:58:31 2010 +0000
@@ -26,5 +26,6 @@
 char *gg_cp_to_utf8(const char *b);
 char *gg_utf8_to_cp(const char *b);
 int gg_pubdir50_handle_reply_sess(struct gg_session *sess, struct gg_event *e, const char *packet, int length);
+void gg_debug_common(struct gg_session *sess, int level, const char *format, va_list ap);
 
 #endif /* LIBGADU_INTERNAL_H */