- Timestamp:
- 2010-03-12T00:38:40Z (15 years ago)
- Branches:
- master
- Children:
- 4dc6b8d
- Parents:
- fdba6bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
set.c
rfdba6bc r56244c0 213 213 } 214 214 215 char *set_eval_list( set_t *set, char *value ) 216 { 217 GSList *options = set->eval_data, *opt; 218 219 for( opt = options; opt; opt = opt->next ) 220 if( strcmp( value, opt->data ) == 0 ) 221 return value; 222 223 /* TODO: It'd be nice to show the user a list of allowed values, 224 but we don't have enough context here to do that. May 225 want to fix that. */ 226 227 return NULL; 228 } 229 215 230 char *set_eval_to_char( set_t *set, char *value ) 216 231 {
Note: See TracChangeset
for help on using the changeset viewer.