Always call post_update_cb() in uat_load_str().

svn path=/trunk/; revision=34010
This commit is contained in:
Stig Bjørlykke 2010-08-30 08:43:03 +00:00
parent 6d1a0a2e86
commit 4f6e546d4d
1 changed files with 7 additions and 8 deletions

View File

@ -343,19 +343,18 @@ gboolean uat_load_str(uat_t* uat_in, char* entry, char** err) {
uat->changed = TRUE;
uat->loaded = TRUE;
UAT_UPDATE(uat);
if (error) {
UAT_UPDATE(uat);
*err = ep_strdup(error);
return FALSE;
} else {
UAT_UPDATE(uat);
*err = NULL;
return TRUE;
}
if (uat->post_update_cb)
uat->post_update_cb();
if (uat->post_update_cb)
uat->post_update_cb();
*err = NULL;
return TRUE;
}
/*