1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00

Reverse out const to libpq interface from D'Arcy.

This commit is contained in:
Bruce Momjian
1999-02-05 04:25:55 +00:00
parent d3a85108c2
commit f962514403
3 changed files with 22 additions and 22 deletions

View File

@ -9,7 +9,7 @@
* didn't really belong there.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.18 1999/02/04 03:20:39 momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.19 1999/02/05 04:25:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -679,7 +679,7 @@ do_header(FILE *fout, PQprintOpt *po, const int nFields, int *fieldMax,
p = border;
if (po->standard)
{
const char *fs = po->fieldSep;
char *fs = po->fieldSep;
while (*fs++)
*p++ = '+';
@ -691,7 +691,7 @@ do_header(FILE *fout, PQprintOpt *po, const int nFields, int *fieldMax,
for (len = fieldMax[j] + (po->standard ? 2 : 0); len--; *p++ = '-');
if (po->standard || (j + 1) < nFields)
{
const char *fs = po->fieldSep;
char *fs = po->fieldSep;
while (*fs++)
*p++ = '+';