git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9fd342
)
ignore case of LB_TAGs (they are case insensitive)
author
Miloš Mulač
<mulac@civ.zcu.cz>
Tue, 5 Sep 2006 14:01:31 +0000
(14:01 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Tue, 5 Sep 2006 14:01:31 +0000
(14:01 +0000)
org.glite.lb.server/src/lb_plugin.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/lb_plugin.c
b/org.glite.lb.server/src/lb_plugin.c
index
967e901
..
7cce2e0
100644
(file)
--- a/
org.glite.lb.server/src/lb_plugin.c
+++ b/
org.glite.lb.server/src/lb_plugin.c
@@
-546,7
+546,8
@@
static int lb_query(void *fpctx,void *handle,const char *attr,glite_jp_attrval_t
while (h->events[i]) {
if ((h->events[i]->type == EDG_WLL_EVENT_USERTAG) &&
- (strcmp(h->events[i]->userTag.name, tag) == 0) ) {
+/* XXX: LB tag names are case-insensitive */
+ (strcasecmp(h->events[i]->userTag.name, tag) == 0) ) {
av = realloc(av, (n_tags+2) * sizeof(glite_jp_attrval_t));
memset(&av[n_tags], 0, 2 * sizeof(glite_jp_attrval_t));