From: Aleš Křenek Date: Tue, 3 Jun 2008 14:00:06 +0000 (+0000) Subject: revert the previous hack -- get in sync with jobid.api-c X-Git-Tag: glite-yaim-lb_R_4_0_3_1~17 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=4b104f7d7f3c601546ebe23d22a5802b9885c787;p=jra1mw.git revert the previous hack -- get in sync with jobid.api-c --- diff --git a/org.glite.jp.common/src/attr.c b/org.glite.jp.common/src/attr.c index d902ccd..1b7285c 100644 --- a/org.glite.jp.common/src/attr.c +++ b/org.glite.jp.common/src/attr.c @@ -106,10 +106,7 @@ static char * fb_to_db_full(void *ctx,const glite_jp_attrval_t *attr) db[len++] = ':'; if (attr->binary) { -/* FIXME: binary unsupported, base64_* not available after restructuring vsize = base64_encode(attr->value,attr->size,db+len,vsize-1); -*/ - abort(); if (vsize < 0) { free(db); return NULL; } db[len+vsize] = 0; } @@ -159,10 +156,7 @@ static int fb_from_db(void *ctx,const char *str,glite_jp_attrval_t *attr) if (cp[p++] != ':') return EINVAL; if (attr->binary) { -/* FIXME: binary unsupported, base64_* not available after restructuring attr->size = base64_decode(str+p,attr->value,strlen(str)); -*/ - abort(); if (attr->size < 0) return EINVAL; } else strcpy(attr->value,str+p);