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:
8b1475c
)
Bugfix in fallback "static" type plugin.
author
František Dvořák
<valtri@civ.zcu.cz>
Thu, 29 Sep 2005 15:54:23 +0000
(15:54 +0000)
committer
František Dvořák
<valtri@civ.zcu.cz>
Thu, 29 Sep 2005 15:54:23 +0000
(15:54 +0000)
org.glite.jp.common/src/attr.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.common/src/attr.c
b/org.glite.jp.common/src/attr.c
index
cd688c4
..
98f8ea4
100644
(file)
--- a/
org.glite.jp.common/src/attr.c
+++ b/
org.glite.jp.common/src/attr.c
@@
-63,6
+63,7
@@
static char * fb_to_db_full(void *ctx,const glite_jp_attrval_t *attr)
db[0] = 'S'; db[1] = ':';
strcpy(db+2,attr->value);
}
+ return db;
}
static char * fb_to_db_index(void *ctx,const glite_jp_attrval_t *attr,int len)
@@
-89,6
+90,7
@@
int fb_from_db(void *ctx,const char *str,glite_jp_attrval_t *attr)
break;
default: return EINVAL;
}
+ return 0;
}
static const char * fb_type_full(void *ctx,const char *attr)