From 5ca80abb9bd625b545a30f8daf5d300eb1a20309 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 29 Sep 2005 15:54:23 +0000 Subject: [PATCH] Bugfix in fallback "static" type plugin. --- org.glite.jp.common/src/attr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.glite.jp.common/src/attr.c b/org.glite.jp.common/src/attr.c index cd688c4..98f8ea4 100644 --- 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) -- 1.8.2.3