diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-04-06 23:13:08 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-04-06 23:13:08 +0200 |
commit | 73b7a03c3fe3c3407493f8f7efbb86d8e2eca0b4 (patch) | |
tree | cee0e6040608b58f6abd299ff428b6adcd6a34fe /lib/strerror.c | |
parent | 64381f5091955cbfe83c5c691d322c38749d19cf (diff) |
strerror: fix comment about vxworks' strerror_r buffer size
Bug: http://curl.haxx.se/mail/lib-2014-04/0063.html
Reported-by: Jeroen Koekkoek
Diffstat (limited to 'lib/strerror.c')
-rw-r--r-- | lib/strerror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index 9e8c83f72..aec6d38f3 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2004 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 2004 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -679,7 +679,7 @@ const char *Curl_strerror(struct connectdata *conn, int err) #elif defined(HAVE_STRERROR_R) && defined(HAVE_VXWORKS_STRERROR_R) /* * The vxworks-style strerror_r() does use the buffer we pass to the function. - * The buffer size should be at least MAXERRSTR_SIZE (150) defined in rtsold.h + * The buffer size should be at least NAME_MAX (256) */ { char buffer[256]; |