~yeban/libmemcached/todo-host.c

« back to all changes in this revision

Viewing changes to clients/ms_task.c

  • Committer: Brian Aker
  • Date: 2011-03-17 21:45:08 UTC
  • Revision ID: brian@tangent.org-20110317214508-ogufz6pusakvcch0
Merge in updates to make sure exit/return is done properly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1053
1053
 *
1054
1054
 * @param c, pointer of the concurrency
1055
1055
 *
1056
 
 * @return int, if success, return 0, else return -1
 
1056
 * @return int, if success, return EXIT_SUCCESS, else return -1
1057
1057
 */
1058
1058
static int ms_run_getset_task(ms_conn_t *c)
1059
1059
{
1085
1085
    return -1;
1086
1086
  }
1087
1087
 
1088
 
  return 0;
 
1088
  return EXIT_SUCCESS;
1089
1089
} /* ms_run_getset_task */
1090
1090
 
1091
1091
 
1094
1094
 *
1095
1095
 * @param c, pointer of the concurrency
1096
1096
 *
1097
 
 * @return int, if success, return 0, else return -1
 
1097
 * @return int, if success, return EXIT_SUCCESS, else return -1
1098
1098
 */
1099
1099
int ms_exec_task(struct conn *c)
1100
1100
{
1110
1110
    }
1111
1111
  }
1112
1112
 
1113
 
  return 0;
 
1113
  return EXIT_SUCCESS;
1114
1114
} /* ms_exec_task */