return 0;
}
-void ad_unparse_options( BerVarray *res ){
+void
+ad_unparse_options( BerVarray *res )
+{
int i;
- for ( i=0; i < option_count; i++ ) {
- ber_bvarray_add( res, ber_bvdup( &(options[i].name) ));
- }
+ for ( i = 0; i < option_count; i++ ) {
+ value_add_one( res, &options[i].name );
+ }
}
/* Find the definition of the option name or prefix matching the arguments */