mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
pgindent run.
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: stringinfo.c,v 1.31 2002/06/20 20:29:28 momjian Exp $
|
||||
* $Id: stringinfo.c,v 1.32 2002/09/04 20:31:18 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -120,7 +120,7 @@ appendStringInfo(StringInfo str, const char *fmt,...)
|
||||
* an example of a platform with such a bug.
|
||||
*/
|
||||
#ifdef USE_ASSERT_CHECKING
|
||||
str->data[str->maxlen-1] = '\0';
|
||||
str->data[str->maxlen - 1] = '\0';
|
||||
#endif
|
||||
|
||||
va_start(args, fmt);
|
||||
@ -128,7 +128,7 @@ appendStringInfo(StringInfo str, const char *fmt,...)
|
||||
fmt, args);
|
||||
va_end(args);
|
||||
|
||||
Assert(str->data[str->maxlen-1] == '\0');
|
||||
Assert(str->data[str->maxlen - 1] == '\0');
|
||||
|
||||
/*
|
||||
* Note: some versions of vsnprintf return the number of chars
|
||||
|
Reference in New Issue
Block a user