{
EM_DEBUG_FUNC_BEGIN("account_id[%d], mailbox_list[%p], count[%p] err_code[%p]", account_id, mailbox_list, count, err_code);
- if (account_id < FIRST_ACCOUNT_ID || NULL == mailbox_list || NULL == count) {
+ if (account_id < FIRST_ACCOUNT_ID || NULL == mailbox_list || *mailbox_list == NULL || NULL == count) {
EM_DEBUG_EXCEPTION("account_id[%d], mailbox_list[%p], count[%p] err_code[%p]", account_id, mailbox_list, count, err_code);
if (err_code != NULL)
*err_code = EMAIL_ERROR_INVALID_PARAM;
if (old_column_info == NULL || new_column_info == NULL)
return -1;
-
- EM_DEBUG_FUNC_END("error [%d]", error);
return EM_SAFE_STRCMP((char*)left_one->column_name, (char*)right_one->column_name);
}