aboutsummaryrefslogtreecommitdiff
path: root/lib/telnet.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/telnet.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/telnet.c')
-rw-r--r--lib/telnet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index 78d3a853d..d71c8e067 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -1203,8 +1203,7 @@ CURLcode telrcv(struct connectdata *conn,
CURL_SB_ACCUM(tn, c);
tn->telrcv_state = CURL_TS_SB;
}
- else
- {
+ else {
CURL_SB_ACCUM(tn, CURL_IAC);
CURL_SB_ACCUM(tn, CURL_SE);
tn->subpointer -= 2;