From 2d5c78849e32bef8be06db7907675d011b851665 Mon Sep 17 00:00:00 2001 From: Nito Martinez Date: Thu, 26 Nov 2015 09:50:03 +0100 Subject: [PATCH] Fix formatting: else if in its own line and no brackets for single statements --- libfreerdp/core/tcp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libfreerdp/core/tcp.c b/libfreerdp/core/tcp.c index 00a1c45..ce026ce 100644 --- a/libfreerdp/core/tcp.c +++ b/libfreerdp/core/tcp.c @@ -1064,10 +1064,9 @@ int freerdp_tcp_connect(rdpContext* context, rdpSettings* settings, if (sockfd < 0) return -1; - } else if (useExternalDefinedSocket) - { - sockfd = port; } + else if (useExternalDefinedSocket) + sockfd = port; else { sockfd = -1; -- 2.7.4