mirror of
https://github.com/postgres/postgres.git
synced 2026-06-10 17:20:31 -04:00
Fix for pg_ctl -o processing. Report from Sean Chittenden.
This commit is contained in:
parent
5bd458c89a
commit
7f42dabca8
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.23 2004/07/22 01:44:36 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.24 2004/07/29 16:11:11 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -359,7 +359,7 @@ test_postmaster_connection(void)
|
|||
/* keep looking, maybe there is another -p */
|
||||
}
|
||||
/* Advance to next whitespace */
|
||||
while (!isspace(*p))
|
||||
while (*p && !isspace(*p))
|
||||
p++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue