[gaim-migrate @ 17984]

Wed, 13 Dec 2006 10:46:44 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Wed, 13 Dec 2006 10:46:44 +0000
changeset 15257
c94113912aca
parent 15256
c57887cd5d08
child 15258
ca95e4c752e8

[gaim-migrate @ 17984]
Jonathan Brossard found some minor flaws in our perl API... basically
perl scripts that used the gaim_debug() functions previously had to
escape '%' to get it to not behave wonkily. That should no longer be
necessary after this change.

COPYRIGHT file | annotate | diff | comparison | revisions
libgaim/plugins/perl/common/Debug.xs file | annotate | diff | comparison | revisions
--- a/COPYRIGHT	Wed Dec 13 10:11:31 2006 +0000
+++ b/COPYRIGHT	Wed Dec 13 10:46:44 2006 +0000
@@ -43,6 +43,7 @@
 Derrick J Brashear
 Matt Brenneke
 Jeremy Brooks
+Jonathan Brossard
 Philip Brown
 Sean Burke
 Thomas Butter
--- a/libgaim/plugins/perl/common/Debug.xs	Wed Dec 13 10:11:31 2006 +0000
+++ b/libgaim/plugins/perl/common/Debug.xs	Wed Dec 13 10:46:44 2006 +0000
@@ -8,31 +8,43 @@
 	Gaim::DebugLevel level
 	const char *category
 	const char *string
+CODE:
+	gaim_debug(level, category, "%s", string);
 
 void
 gaim_debug_misc(category, string)
 	const char *category
 	const char *string
+CODE:
+	gaim_debug_misc(category, "%s", string);
 
 void
 gaim_debug_info(category, string)
 	const char *category
 	const char *string
+CODE:
+	gaim_debug_info(category, "%s", string);
 
 void
 gaim_debug_warning(category, string)
 	const char *category
 	const char *string
+CODE:
+	gaim_debug_warning(category, "%s", string);
 
 void
 gaim_debug_error(category, string)
 	const char *category
 	const char *string
+CODE:
+	gaim_debug_error(category, "%s", string);
 
 void
 gaim_debug_fatal(category, string)
 	const char *category
 	const char *string
+CODE:
+	gaim_debug_fatal(category, "%s", string);
 
 void
 gaim_debug_set_enabled(enabled)

mercurial