aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2018-04-25 21:53:27 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-04-27 00:51:35 +0200
commit2f13e3d23d9acd448b1e1e2cad419b4c118c43e4 (patch)
tree9dc0c85afa6f373af02b03734c8c4d12f60d1667 /lib/multi.c
parent1d71ce845a6ac3887205c2842fad0a476f7cf3ec (diff)
checksrc: force indentation of lines after an else
This extends the INDENTATION case to also handle 'else' statements and require proper indentation on the following line. Also fixes the offending cases found in the codebase. Closes #2532
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 5f32dd2a1..f85284695 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1798,8 +1798,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
if((data->easy_conn->sockfd != CURL_SOCKET_BAD) ||
(data->easy_conn->writesockfd != CURL_SOCKET_BAD))
multistate(data, CURLM_STATE_WAITPERFORM);
- else
- {
+ else {
if(data->state.wildcardmatch &&
((data->easy_conn->handler->flags & PROTOPT_WILDCARD) == 0)) {
data->wildcard.state = CURLWC_DONE;