Commit 0d6facba authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

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

Before, char16 was missing last character for output.
parent 4677f0a2
......@@ -12,7 +12,7 @@
*
*
* 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)
result[1] = '\0';
}
else
StrNCpy(result, s, 16);
StrNCpy(result, s, 17);
return (result);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment