Skip to content
Snippets Groups Projects
Commit 0d6facba authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Modify one last line to complete changes for StrNCpy() macro addition.

Before, char16 was missing last character for output.
parent 4677f0a2
Branches
Tags REL9_4_BETA1
No related merge requests found
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.12 1997/10/25 01:10:32 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.13 1997/10/25 05:12:38 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -124,7 +124,7 @@ char16out(char *s) ...@@ -124,7 +124,7 @@ char16out(char *s)
result[1] = '\0'; result[1] = '\0';
} }
else else
StrNCpy(result, s, 16); StrNCpy(result, s, 17);
return (result); return (result);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment