summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vondra2017-07-29 16:51:55 +0000
committerTomas Vondra2018-10-12 13:02:40 +0000
commit66093fb94f4afc1a79e534ceb9a6485d090291ad (patch)
tree5992b8076e91d1ccacfdb8f2809510f924a0cc15
parente343f9312386c000c73657e67c6e18a414fb359b (diff)
Fix confusing indentation in gtm_client.c
GCC 6.3 complains that the indentation in gtm_sync_standby() is somewhat confusing, as it might mislead people to think that a command is part of an if branch. So fix that by removing the unnecessary indentation.
-rw-r--r--src/gtm/client/gtm_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gtm/client/gtm_client.c b/src/gtm/client/gtm_client.c
index 4ac13faeb6..ce9845e975 100644
--- a/src/gtm/client/gtm_client.c
+++ b/src/gtm/client/gtm_client.c
@@ -2402,7 +2402,8 @@ gtm_sync_standby(GTM_Conn *conn)
if (gtmpqFlush(conn))
goto send_failed;
- finish_time = time(NULL) + CLIENT_GTM_TIMEOUT;
+ finish_time = time(NULL) + CLIENT_GTM_TIMEOUT;
+
if (gtmpqWaitTimed(true, false, conn, finish_time) ||
gtmpqReadData(conn) < 0)
goto receive_failed;