diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-02-04 03:20:39 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-02-04 03:20:39 +0000 |
commit | a03b81737311f0c7cb1e7617795c12c20cdafa58 (patch) | |
tree | b37cb065789b9391413397e513f96d84340fc26e /src/interfaces/libpq/fe-print.c | |
parent | ce3afccf7f7ca7e2338d1a1a9213eb96de150743 (diff) | |
download | postgresql-a03b81737311f0c7cb1e7617795c12c20cdafa58.tar.gz postgresql-a03b81737311f0c7cb1e7617795c12c20cdafa58.zip |
Const fixes from D'Arcy.
Diffstat (limited to 'src/interfaces/libpq/fe-print.c')
-rw-r--r-- | src/interfaces/libpq/fe-print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-print.c b/src/interfaces/libpq/fe-print.c index 7bfd500c6a8..8cc34afa97e 100644 --- a/src/interfaces/libpq/fe-print.c +++ b/src/interfaces/libpq/fe-print.c @@ -9,7 +9,7 @@ * didn't really belong there. * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.17 1999/02/03 21:17:50 momjian Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.18 1999/02/04 03:20:39 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -679,7 +679,7 @@ do_header(FILE *fout, PQprintOpt *po, const int nFields, int *fieldMax, p = border; if (po->standard) { - char *fs = po->fieldSep; + const 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) { - char *fs = po->fieldSep; + const char *fs = po->fieldSep; while (*fs++) *p++ = '+'; |