From 76bdee4027f18f8fcac489500932c77492170efd Mon Sep 17 00:00:00 2001 From: Jianhui Zhao Date: Mon, 1 Oct 2018 19:36:41 +0800 Subject: [PATCH] example.c: compatible with the latest version Signed-off-by: Jianhui Zhao --- example/example.c | 3 --- 1 file changed, 3 deletions(-) mode change 100644 => 100755 example/example.c diff --git a/example/example.c b/example/example.c old mode 100644 new mode 100755 index 00dc2eb..6c94915 --- a/example/example.c +++ b/example/example.c @@ -49,9 +49,6 @@ static void uwsc_onopen(struct uwsc_client *cl) ev_io_init(&stdin_watcher, stdin_read_cb, STDIN_FILENO, EV_READ); ev_io_start(cl->loop, &stdin_watcher); - /* Send Ping per 10s */ - cl->set_ping_interval(cl, 10); - printf("Please input:\n"); }