mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Preliminary work for pgindent run.
Update typedefs.list from current buildfarm results. Adjust pgindent's typedef blacklist to block some more unfortunate typedef names that have snuck in since last time. Manually tweak a few places where I didn't like the initial results of pgindent'ing.
This commit is contained in:
@ -114,8 +114,8 @@ run_ssl_passphrase_command(const char *prompt, bool is_server_start, char *buf,
|
||||
|
||||
/* strip trailing newline */
|
||||
len = strlen(buf);
|
||||
if (buf[len - 1] == '\n')
|
||||
buf[len-- -1] = '\0';
|
||||
if (len > 0 && buf[len - 1] == '\n')
|
||||
buf[--len] = '\0';
|
||||
|
||||
error:
|
||||
pfree(command.data);
|
||||
|
Reference in New Issue
Block a user