[ekg2-commit] ekg2: rot13.c (HEAD) [peres]

CVS commit cvs w toxygen.net
Wto, 16 Paź 2007, 20:34:05 CEST


Module name:	ekg2
Changes by:	peres	2007-10-16 20:34:03

Modified files:
	rot13.c

Log message:
'jid:' -> 'xmpp:'.

Index: rot13.c
===================================================================
RCS file: /home/cvs/ekg2/plugins/rot13/rot13.c,v
diff -d -u -r1.11 -r1.12
--- rot13.c	22 Jul 2007 21:23:12 -0000	1.11
+++ rot13.c	16 Oct 2007 18:34:03 -0000	1.12
@@ -75,7 +75,7 @@
 		}
 
 	/* XXX, resource strip, only jabber if no resource passed */
-		if (!((tmp = xstrchr(target, '/')) || xstrncmp(target, "jid:", 4) || xstrchr(k->target, '/'))) continue;
+		if (!((tmp = xstrchr(target, '/')) || xstrncmp(target, "xmpp:", 5) || xstrchr(k->target, '/'))) continue;
 
 		len = (int)(tmp - k->target);
 


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