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:
3971bab
)
retrieve LB user tags correctly
author
Aleš Křenek
<ljocha@ics.muni.cz>
Thu, 16 Mar 2006 17:31:44 +0000
(17:31 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Thu, 16 Mar 2006 17:31:44 +0000
(17:31 +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
0c45080
..
3e90708
100644
(file)
--- a/
org.glite.lb.server/src/lb_plugin.c
+++ b/
org.glite.lb.server/src/lb_plugin.c
@@
-354,7
+354,7
@@
static int lb_query(void *fpctx,void *handle,const char *attr,glite_jp_attrval_t
// err.desc = "Not implemented yet.";
trio_asprintf(&err.desc,"Attribute '%s' not implemented yet.",attr);
return glite_jp_stack_error(ctx,&err);
- } else if (str
cmp(attr
, GLITE_JP_LBTAG_NS) == 0) {
+ } else if (str
ncmp(attr, sizeof(GLITE_JP_LBTAG_NS)-1
, GLITE_JP_LBTAG_NS) == 0) {
tag = strrchr(attr, ':');
if (h->events && tag) {
tag++;