comparison tag.c @ 747:f0e6c8860014

now clients perform only the first rule matching from config
author meillo@marmaro.de
date Sun, 11 Feb 2007 12:04:45 +0100
parents 08b89915c109
children 6692d7e7e156
comparison
equal deleted inserted replaced
746:a28456200108 747:f0e6c8860014
94 if(!regexec(rreg[i].tregex, tags[j], 1, &tmp, 0)) { 94 if(!regexec(rreg[i].tregex, tags[j], 1, &tmp, 0)) {
95 matched = True; 95 matched = True;
96 c->tags[j] = True; 96 c->tags[j] = True;
97 } 97 }
98 } 98 }
99 break; /* perform only the first rule matching */
99 } 100 }
100 if(ch.res_class) 101 if(ch.res_class)
101 XFree(ch.res_class); 102 XFree(ch.res_class);
102 if(ch.res_name) 103 if(ch.res_name)
103 XFree(ch.res_name); 104 XFree(ch.res_name);