diff options
author | Bruce Momjian <bruce@momjian.us> | 2000-04-12 17:17:23 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2000-04-12 17:17:23 +0000 |
commit | 52f77df613cea1803ce86321c37229626d9f213c (patch) | |
tree | bd9ac9f667f295cb65f4c448a5bb5a062d656b27 /contrib/string/string_io.c | |
parent | db4518729d85da83eafdacbcebaeb12618517595 (diff) | |
download | postgresql-52f77df613cea1803ce86321c37229626d9f213c.tar.gz postgresql-52f77df613cea1803ce86321c37229626d9f213c.zip |
Ye-old pgindent run. Same 4-space tabs.
Diffstat (limited to 'contrib/string/string_io.c')
-rw-r--r-- | contrib/string/string_io.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/contrib/string/string_io.c b/contrib/string/string_io.c index 9407e6a21b3..cb8323d9c9b 100644 --- a/contrib/string/string_io.c +++ b/contrib/string/string_io.c @@ -23,7 +23,7 @@ #define ISO8859 #define MIN(x, y) ((x) < (y) ? (x) : (y)) -#define VALUE(char) ((char) - '0') +#define VALUE(char) ((char) - '0') #define DIGIT(val) ((val) + '0') #define ISOCTAL(c) (((c) >= '0') && ((c) <= '7')) #ifndef ISO8859 @@ -89,9 +89,8 @@ string_output(unsigned char *data, int size) break; case '{': /* Escape beginning of string, to distinguish from arrays */ - if (p == data) { + if (p == data) len++; - } break; default: if (NOTPRINTABLE(*p)) @@ -137,9 +136,8 @@ string_output(unsigned char *data, int size) break; case '{': /* Escape beginning of string, to distinguish from arrays */ - if (p == data) { + if (p == data) *r++ = '\\'; - } *r++ = c; break; default: @@ -361,14 +359,15 @@ c_charin(unsigned char *str) { return (string_input(str, 1, 0, NULL)); } + #endif /* end of file */ /* * Local Variables: - * tab-width: 4 - * c-indent-level: 4 - * c-basic-offset: 4 + * tab-width: 4 + * c-indent-level: 4 + * c-basic-offset: 4 * End: */ |