-
- if((oid->oclass == CLASS_GENERAL) || (oid->oclass == data->oclass)) {
- if(data->index==data->max) {
- data->values=(char**)realloc(data->values,((data->max+1)*2)*sizeof(char*));
- data->max=(data->max+1)*2 - 1;
- };
- data->values[data->index]=oid->desc;
+ if ((oclass == CLASS_GENERAL) || (oclass == data->oclass))
+ {
+ if (data->index==data->max)
+ {
+ data->values=(const char**)
+ realloc(data->values,((data->max+1)*2)*sizeof(char*));
+ data->max=(data->max+1)*2 - 1;
+ }
+ data->values[data->index] = name;