im.pidgin.pidgin: 16d908d77101c3eb83632a6b9febef6d5ee96481

datallah at pidgin.im datallah at pidgin.im
Tue Oct 9 19:50:53 EDT 2007


-----------------------------------------------------------------
Revision: 16d908d77101c3eb83632a6b9febef6d5ee96481
Ancestor: 2e96e2466f643bc1f895f5983c1c0ecb9730498c
Author: datallah at pidgin.im
Date: 2007-10-09T22:42:49
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/jabber/iq.c

ChangeLog: 

Fully comment out some disabled code to prevent CID 310.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/iq.c	ed82367f4b09476e9a481c05553b18b4dac2f9e5
+++ libpurple/protocols/jabber/iq.c	4d6e6f759f6124928998742da165598f635f713d
@@ -248,7 +248,6 @@ static void jabber_iq_version_parse(Jabb
 	JabberIq *iq;
 	const char *type, *from, *id;
 	xmlnode *query;
-	char *os = NULL;
 
 	type = xmlnode_get_attrib(packet, "type");
 
@@ -256,6 +255,7 @@ static void jabber_iq_version_parse(Jabb
 		GHashTable *ui_info;
 		const char *ui_name = NULL, *ui_version = NULL;
 #if 0
+		char *os = NULL;
 		if(!purple_prefs_get_bool("/plugins/prpl/jabber/hide_os")) {
 			struct utsname osinfo;
 
@@ -290,10 +290,12 @@ static void jabber_iq_version_parse(Jabb
 			xmlnode_insert_data(xmlnode_new_child(query, "version"), VERSION, -1);
 		}
 
+#if 0
 		if(os) {
 			xmlnode_insert_data(xmlnode_new_child(query, "os"), os, -1);
 			g_free(os);
 		}
+#endif
 
 		jabber_iq_send(iq);
 	}


More information about the Commits mailing list