It's confused to pass bool to struct cluster_info. Because it's not used in create_client, passing NULL is better.
Signed-off-by: Meng Lingkun <[email protected]> --- sheep/request.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sheep/request.c b/sheep/request.c index f12ca6b..cec13a2 100644 --- a/sheep/request.c +++ b/sheep/request.c @@ -1070,7 +1070,7 @@ static void listen_handler(int listen_fd, int events, void *data) } } - ci = create_client(fd, data); + ci = create_client(fd, NULL); if (!ci) { close(fd); return; -- 1.7.1 -- sheepdog mailing list [email protected] https://lists.wpkg.org/mailman/listinfo/sheepdog
