diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2018-04-25 21:53:27 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-04-27 00:51:35 +0200 |
commit | 2f13e3d23d9acd448b1e1e2cad419b4c118c43e4 (patch) | |
tree | 9dc0c85afa6f373af02b03734c8c4d12f60d1667 /lib/rtsp.c | |
parent | 1d71ce845a6ac3887205c2842fad0a476f7cf3ec (diff) | |
download | curl-2f13e3d23d9acd448b1e1e2cad419b4c118c43e4.tar.gz |
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/rtsp.c')
-rw-r--r-- | lib/rtsp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rtsp.c b/lib/rtsp.c index 194bc949e..41f300013 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -764,8 +764,7 @@ CURLcode rtp_client_write(struct connectdata *conn, char *ptr, size_t len) writeit = data->set.fwrite_rtp; user_ptr = data->set.rtp_out; } - else - { + else { writeit = data->set.fwrite_func; user_ptr = data->set.out; } |