Changeset 6811 for trunk/ARBDB/adname.cxx
- Timestamp:
- 09/09/10 13:03:26 (21 months ago)
- Files:
-
- 1 modified
-
trunk/ARBDB/adname.cxx (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ARBDB/adname.cxx
r6656 r6811 159 159 160 160 GB_ERROR GBT_commit_rename_session(int (*show_status)(double gauge), int (*show_status_text)(const char *)) { 161 // goes to header: __ATTR__USERESULT 161 162 GB_ERROR error = 0; 162 163 … … 228 229 229 230 if (!error) freeset(*configStrPtr, GBS_strclose(strstruct)); 231 else { 232 error = GBS_global_string("Failed to parse configuration '%s' (Reason: %s)", config_names[count], error); 233 } 230 234 231 235 GBT_free_config_item(item); … … 233 237 } 234 238 235 if (!error && need_save) error = GBT_save_configuration_data(config, NameSession.gb_main, config_names[count]); 239 if (!error && need_save) { 240 error = GBT_save_configuration_data(config, NameSession.gb_main, config_names[count]); 241 } 236 242 } 237 243 if (show_status) show_status((double)(count+1)/config_count); … … 262 268 gbt_free_rename_session_data(); 263 269 264 error = GB_ pop_transaction(NameSession.gb_main);270 error = GB_end_transaction(NameSession.gb_main, error); 265 271 return error; 266 272 }
