From 2f13e3d23d9acd448b1e1e2cad419b4c118c43e4 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Wed, 25 Apr 2018 21:53:27 +0200 Subject: 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 --- lib/rtsp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/rtsp.c') 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; } -- cgit v1.2.3