[ekg2-commit] ekg2: commands.c (HEAD) [darkjames]

CVS commit cvs w toxygen.net
Pią, 18 Sty 2008, 17:29:51 CET


Module name:	ekg2
Changes by:	darkjames	2008-01-18 17:29:48

Modified files:
	commands.c

Log message:
doc jabber_command_change()

Index: commands.c
===================================================================
RCS file: /home/cvs/ekg2/plugins/jabber/commands.c,v
diff -d -u -r1.222 -r1.223
--- commands.c	11 Jan 2008 19:16:38 -0000	1.222
+++ commands.c	18 Jan 2008 16:29:48 -0000	1.223
@@ -907,6 +907,15 @@
 	return NULL;
 }
 
+/**
+ * jabber_command_change()
+ *
+ * Changes data in vcard.
+ *
+ * @todo - reimplement it using jabber_params_split()
+ *       - and implement more stuff. See http://www.xmpp.org/extensions/xep-0054.html
+ */
+
 static COMMAND(jabber_command_change)
 {
 #define pub_sz 6
@@ -955,6 +964,8 @@
 	for (i=0; i<pub_sz; i++) 
 		xfree(pub[i]);
 	return 0;
+#undef pub_sz
+#undef strfix
 }
 
 static COMMAND(jabber_command_lastseen)


Więcej informacji o liście dyskusyjnej ekg2-commit