SOURCES: jabber-gg-transport-acl.patch (NEW) - fix tags without at...
arekm
arekm at pld-linux.org
Wed Oct 12 08:57:21 CEST 2005
Author: arekm Date: Wed Oct 12 06:57:21 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix tags without attributes
---- Files affected:
SOURCES:
jabber-gg-transport-acl.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/jabber-gg-transport-acl.patch
diff -u /dev/null SOURCES/jabber-gg-transport-acl.patch:1.1
--- /dev/null Wed Oct 12 08:57:21 2005
+++ SOURCES/jabber-gg-transport-acl.patch Wed Oct 12 08:57:16 2005
@@ -0,0 +1,12 @@
+diff -urN jabber-gg-transport-2.2.1.org/src/acl.c jabber-gg-transport-2.2.1/src/acl.c
+--- jabber-gg-transport-2.2.1.org/src/acl.c 2005-07-24 17:02:36.000000000 +0200
++++ jabber-gg-transport-2.2.1/src/acl.c 2005-10-12 08:58:19.537997264 +0200
+@@ -95,7 +95,7 @@
+ if (acl_e->who && jid){
+ if (fnmatch(acl_e->who,jid,0)) continue; /* no match */
+ }
+- if (acl_e && !xmlnode_get_tag(x,acl_e->what)) continue; /* no match */
++ if (acl_e && acl_e->what && !xmlnode_get_tag(x,acl_e->what)) continue; /* no match */
+ result=acl_e->allow;
+ break;
+ }
================================================================
More information about the pld-cvs-commit
mailing list