comparison tests.c @ 774:08bbfb5239fc

s/ITEM_/CFG_ITEM_/g'
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 01 Jul 2023 22:12:51 +0300
parents c17eadc60c3d
children 484853471eaf
comparison
equal deleted inserted replaced
773:4744e64ffa3a 774:08bbfb5239fc
399 399
400 void test_config_free(th_cfgitem_t *node) 400 void test_config_free(th_cfgitem_t *node)
401 { 401 {
402 switch (node->type) 402 switch (node->type)
403 { 403 {
404 case ITEM_STRING: 404 case CFG_ITEM_STRING:
405 th_free(*(node->v.val_str)); 405 th_free(*(node->v.val_str));
406 break; 406 break;
407 407
408 case ITEM_STRING_LIST: 408 case CFG_ITEM_STRING_LIST:
409 break; 409 break;
410 } 410 }
411 } 411 }
412 412
413 413