version 1.7, 2012/04/04 13:11:49
|
version 1.7.2.2, 2012/04/05 12:21:57
|
Line 254 cfg_loadAttribute(cfg_root_t * __restrict cfg, const c
|
Line 254 cfg_loadAttribute(cfg_root_t * __restrict cfg, const c
|
if (csDefValue) { |
if (csDefValue) { |
AIT_SET_STR(val, csDefValue); |
AIT_SET_STR(val, csDefValue); |
ret = AIT_LEN(val); |
ret = AIT_LEN(val); |
} | } else |
| AIT_INIT_VAL(val); |
return ret; |
return ret; |
} |
} |
|
|
Line 263 cfg_loadAttribute(cfg_root_t * __restrict cfg, const c
|
Line 264 cfg_loadAttribute(cfg_root_t * __restrict cfg, const c
|
if (csDefValue) { |
if (csDefValue) { |
AIT_SET_STR(val, csDefValue); |
AIT_SET_STR(val, csDefValue); |
ret = AIT_LEN(val); |
ret = AIT_LEN(val); |
} | } else |
| AIT_INIT_VAL(val); |
} else { |
} else { |
/* copy value */ |
/* copy value */ |
AIT_SET_STR(val, AIT_GET_STR(&av->cfg_val)); |
AIT_SET_STR(val, AIT_GET_STR(&av->cfg_val)); |