X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fms_task.c;h=7e7921fcf2b9b6cc44e17c84bfd39e1b5461c20f;hb=7bca10ca93172c1417f10c630a13c7aa88617ded;hp=631c35ea1a7bf4ab883a4a7efb320973ffa684f9;hpb=4408f5168a2640feb59f16987833b36f206176cb;p=awesomized%2Flibmemcached diff --git a/clients/ms_task.c b/clients/ms_task.c index 631c35ea..7e7921fc 100644 --- a/clients/ms_task.c +++ b/clients/ms_task.c @@ -1053,7 +1053,7 @@ static void ms_update_task_result(ms_conn_t *c) * * @param c, pointer of the concurrency * - * @return int, if success, return 0, else return -1 + * @return int, if success, return EXIT_SUCCESS, else return -1 */ static int ms_run_getset_task(ms_conn_t *c) { @@ -1085,7 +1085,7 @@ static int ms_run_getset_task(ms_conn_t *c) return -1; } - return 0; + return EXIT_SUCCESS; } /* ms_run_getset_task */ @@ -1094,7 +1094,7 @@ static int ms_run_getset_task(ms_conn_t *c) * * @param c, pointer of the concurrency * - * @return int, if success, return 0, else return -1 + * @return int, if success, return EXIT_SUCCESS, else return -1 */ int ms_exec_task(struct conn *c) { @@ -1110,5 +1110,5 @@ int ms_exec_task(struct conn *c) } } - return 0; + return EXIT_SUCCESS; } /* ms_exec_task */