Corected db_type_index calling.
authorJiří Filipovič <fila@ics.muni.cz>
Wed, 21 May 2008 12:21:46 +0000 (12:21 +0000)
committerJiří Filipovič <fila@ics.muni.cz>
Wed, 21 May 2008 12:21:46 +0000 (12:21 +0000)
org.glite.jp.common/src/attr.c

index 8609567..6617873 100644 (file)
@@ -267,7 +267,7 @@ const char *glite_jp_attrval_db_type_index(glite_jp_context_t ctx,const char *at
        glite_jp_tplug_data_t   *ap = get_plugin(ctx,attr);
 
        glite_jp_clear_error(ctx);
-       return ap->db_type_full ?  ap->db_type_index(ap->pctx,attr,len) : fb_type_index(ap->pctx,attr,len);
+       return ap->db_type_index ?  ap->db_type_index(ap->pctx,attr,len) : fb_type_index(ap->pctx,attr,len);
 }
 
 /* XXX: UNIX time, should be ISO blahblah */