Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd458c commit 7f42dabCopy full SHA for 7f42dab
src/bin/pg_ctl/pg_ctl.c
@@ -4,7 +4,7 @@
4
*
5
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
6
7
- * $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 $
8
9
*-------------------------------------------------------------------------
10
*/
@@ -359,7 +359,7 @@ test_postmaster_connection(void)
359
/* keep looking, maybe there is another -p */
360
}
361
/* Advance to next whitespace */
362
- while (!isspace(*p))
+ while (*p && !isspace(*p))
363
p++;
364
365
0 commit comments