Skip to content

Commit 0787646

Browse files
committed
Small code consistency improvement
Adjust the way the increment operators are placed to be consistent throughout the function. Fixup for commit commit c1da728.
1 parent 50b8ad3 commit 0787646

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/pg_dump/connectdb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ ConnectDatabase(const char *dbname, const char *connection_string,
142142
if (override_dbname)
143143
{
144144
keywords[i] = "dbname";
145-
values[i++] = override_dbname;
145+
values[i] = override_dbname;
146+
i++;
146147
}
147148

148149
keywords[i] = "fallback_application_name";

0 commit comments

Comments
 (0)