X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fbin%2Fmemaslap%2Fms_task.c;h=89754ec6772c9f4ec8c08efd0ce6c90b2214495e;hb=0f27cca46a4a529459ca988268972f480a9730c6;hp=638fb4853660a91a49584641370b2280c25cf9fa;hpb=97dfab0cbc17e3b4d22b20f062e550fc0ef54ecc;p=m6w6%2Flibmemcached diff --git a/src/bin/memaslap/ms_task.c b/src/bin/memaslap/ms_task.c index 638fb485..89754ec6 100644 --- a/src/bin/memaslap/ms_task.c +++ b/src/bin/memaslap/ms_task.c @@ -793,7 +793,8 @@ static void ms_update_set_result(ms_conn_t *c, ms_task_item_t *item) { break; case MCD_SERVER_ERROR: - default: break; + default: + break; } /* switch */ } } /* ms_update_set_result */ @@ -817,7 +818,9 @@ static void ms_update_stat_result(ms_conn_t *c) { pthread_mutex_lock(&ms_statistic.stat_mutex); switch (c->precmd.cmd) { - case CMD_SET: ms_record_event(&ms_statistic.set_stat, time_diff, false); break; + case CMD_SET: + ms_record_event(&ms_statistic.set_stat, time_diff, false); + break; case CMD_GET: if (c->curr_task.get_miss) { @@ -826,7 +829,8 @@ static void ms_update_stat_result(ms_conn_t *c) { ms_record_event(&ms_statistic.get_stat, time_diff, get_miss); break; - default: break; + default: + break; } /* switch */ ms_record_event(&ms_statistic.total_stat, time_diff, get_miss);