summaryrefslogtreecommitdiff
path: root/gl/vasnprintf.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-08 10:42:37 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-08 10:43:12 +0100
commitbdafbb24bc2d4beda71faa87036ace0dcab474fb (patch)
tree8d591fa1309a8537654262deebea781156fbbbb4 /gl/vasnprintf.c
parent673a79027c04eaa8aa68353990753cf32dc7774a (diff)
downloadgnutls-bdafbb24bc2d4beda71faa87036ace0dcab474fb.tar.gz
added strndup and updated gnulib.
Diffstat (limited to 'gl/vasnprintf.c')
-rw-r--r--gl/vasnprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/vasnprintf.c b/gl/vasnprintf.c
index 16fca49fd6..297eb2045e 100644
--- a/gl/vasnprintf.c
+++ b/gl/vasnprintf.c
@@ -2814,7 +2814,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
if (has_width)
{
# if ENABLE_UNISTDIO
- /* Outside POSIX, it's preferrable to compare the width
+ /* Outside POSIX, it's preferable to compare the width
against the number of _characters_ of the converted
value. */
w = DCHAR_MBSNLEN (result + length, characters);
@@ -5417,7 +5417,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
{
size_t w;
# if ENABLE_UNISTDIO
- /* Outside POSIX, it's preferrable to compare the width
+ /* Outside POSIX, it's preferable to compare the width
against the number of _characters_ of the converted
value. */
w = DCHAR_MBSNLEN (result + length, count);