Skip to content

Commit

Permalink
Fix Warning 'misleading-indentation' by convert all Tabs to Spaces.
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <[email protected]>
  • Loading branch information
Jianhui Zhao committed Apr 21, 2019
1 parent 5a8fb1c commit 9fb77a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/uwsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,8 @@ struct uwsc_client *uwsc_new(struct ev_loop *loop, const char *url, int ping_int
if (!inprogress)
cl->state = CLIENT_STATE_HANDSHAKE;

if (!loop)
loop = EV_DEFAULT;
if (!loop)
loop = EV_DEFAULT;

cl->loop = loop;
cl->sock = sock;
Expand All @@ -600,7 +600,7 @@ struct uwsc_client *uwsc_new(struct ev_loop *loop, const char *url, int ping_int
cl->send_close = uwsc_send_close;
cl->ping = uwsc_ping;
cl->start_time = ev_now(loop);
cl->ping_interval = ping_interval;
cl->ping_interval = ping_interval;

if (ssl) {
#if (UWSC_SSL_SUPPORT)
Expand Down

0 comments on commit 9fb77a5

Please sign in to comment.