changeset 25117:c1f85543556d

merge of 'afc2bc7354c9b7ddb6cb80de073d5ae620fe94a5' and 'b79100551ea19cf35ee8952a34a44b97204e75f3'
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 12 Feb 2009 06:06:40 +0000
parents eece2d17ab65 (diff) fa5987472e00 (current diff)
children 463d8501e4e0
files
diffstat 3 files changed, 15 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Thu Feb 12 02:33:05 2009 +0000
+++ b/Makefile.am	Thu Feb 12 06:06:40 2009 +0000
@@ -99,7 +99,7 @@
 	@echo "Not generating devhelp index: xsltproc was not found by configure"
 endif
 else
-	@echo "doxygen was not found during configure.  Aborting."
+	@echo "doxygen was not found during configure.  Unable to build documentation."
 	@echo;
 endif
 
--- a/libpurple/plugins/perl/common/Server.xs	Thu Feb 12 02:33:05 2009 +0000
+++ b/libpurple/plugins/perl/common/Server.xs	Thu Feb 12 06:06:40 2009 +0000
@@ -122,29 +122,28 @@
 	Purple::Connection gc
 	const char *name
 
-void 
-serv_join_chat(con, components)
-	Purple::Connection con 
-	SV * components
-INIT:
-	HV * t_HV;
-	HE * t_HE;
-	SV * t_SV;
-	GHashTable * t_GHash;
+void
+serv_join_chat(conn, components)
+	Purple::Connection conn
+	HV * components
+PREINIT:
+	HE *t_HE;
+	SV *t_SV;
 	I32 len;
+	GHashTable *t_GHash;
 	char *t_key, *t_value;
 CODE:
-	t_HV =  (HV *)SvRV(components);
 	t_GHash = g_hash_table_new(g_str_hash, g_str_equal);
 
-	for (t_HE = hv_iternext(t_HV); t_HE != NULL; t_HE = hv_iternext(t_HV) ) {
+	for (t_HE = hv_iternext(components); t_HE != NULL;
+	     t_HE = hv_iternext(components)) {
 		t_key = hv_iterkey(t_HE, &len);
-		t_SV = *hv_fetch(t_HV, t_key, len, 0);
- 		t_value = SvPVutf8_nolen(t_SV);
+		t_SV = *hv_fetch(components, t_key, len, 0);
+		t_value = SvPVutf8_nolen(t_SV);
 
 		g_hash_table_insert(t_GHash, t_key, t_value);
 	}
-	serv_join_chat(con, t_GHash);
+	serv_join_chat(conn, t_GHash);
 
 void 
 serv_move_buddy(buddy, group1, group2)
--- a/libpurple/util.h	Thu Feb 12 02:33:05 2009 +0000
+++ b/libpurple/util.h	Thu Feb 12 06:06:40 2009 +0000
@@ -1207,7 +1207,7 @@
 G_CONST_RETURN gchar *purple_gai_strerror(gint errnum);
 
 /**
- * Compares two UTF-8 strings case-insensitively.  This string is
+ * Compares two UTF-8 strings case-insensitively.  This comparison is
  * more expensive than a simple g_utf8_collate() comparison because
  * it calls g_utf8_casefold() on each string, which allocates new
  * strings.