mirror of https://github.com/djcb/mu.git
* mu-index.c: cosmetics
This commit is contained in:
parent
7a997a4d98
commit
94715a4bf9
|
@ -124,12 +124,14 @@ static MuResult
|
|||
run_msg_callback_maybe (MuIndexCallbackData *data)
|
||||
{
|
||||
if (data && data->_idx_msg_cb) {
|
||||
MuResult result =
|
||||
data->_idx_msg_cb (data->_stats, data->_user_data);
|
||||
|
||||
MuResult result;
|
||||
|
||||
result = data->_idx_msg_cb (data->_stats, data->_user_data);
|
||||
if (result != MU_OK && result != MU_STOP)
|
||||
g_warning ("%s: callback said %d",
|
||||
__FUNCTION__, result);
|
||||
g_warning ("%s: callback said %d", __FUNCTION__, result);
|
||||
}
|
||||
|
||||
return MU_OK;
|
||||
}
|
||||
|
||||
|
@ -247,7 +249,8 @@ on_stats_maildir_file (const char *fullpath, time_t timestamp,
|
|||
if (cb_data->_stats)
|
||||
++cb_data->_stats->_processed;
|
||||
return MU_OK;
|
||||
} else
|
||||
}
|
||||
|
||||
return result; /* MU_STOP or MU_OK */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue