src/protocols/jabber/iq.c

changeset 10487
4a37cce04215
parent 9722
c1072806bcae
child 10941
7a67db0a7f43
--- a/src/protocols/jabber/iq.c	Sat Jan 08 18:58:19 2005 +0000
+++ b/src/protocols/jabber/iq.c	Sat Jan 08 20:30:41 2005 +0000
@@ -202,12 +202,11 @@
 	JabberIq *iq;
 	const char *type, *from, *id;
 	xmlnode *query;
-	char *os = NULL;
 
 	type = xmlnode_get_attrib(packet, "type");
 
 	if(type && !strcmp(type, "get")) {
-
+#if 0
 		if(!gaim_prefs_get_bool("/plugins/prpl/jabber/hide_os")) {
 			struct utsname osinfo;
 
@@ -215,7 +214,7 @@
 			os = g_strdup_printf("%s %s %s", osinfo.sysname, osinfo.release,
 					osinfo.machine);
 		}
-
+#endif
 		from = xmlnode_get_attrib(packet, "from");
 		id = xmlnode_get_attrib(packet, "id");
 
@@ -227,11 +226,12 @@
 
 		xmlnode_insert_data(xmlnode_new_child(query, "name"), PACKAGE, -1);
 		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);
 	}
 }

mercurial