summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vondra2017-07-29 16:51:55 +0000
committerTomas Vondra2017-07-31 01:19:57 +0000
commit09765ec199f231ace0e1b4f4700c2b02d6bf3d3b (patch)
treeee2659f6a67bf331b3d6adf62e516431c0d55e38
parent5aee3e1fc1ced55cd6b92a792e0fd3b5e232d5e0 (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;