summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/curl/lib/hostip6.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/curl/lib/hostip6.c')
-rw-r--r--plugins/FTPFileYM/curl/lib/hostip6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FTPFileYM/curl/lib/hostip6.c b/plugins/FTPFileYM/curl/lib/hostip6.c
index c42760a640..8327004cd3 100644
--- a/plugins/FTPFileYM/curl/lib/hostip6.c
+++ b/plugins/FTPFileYM/curl/lib/hostip6.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, 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
@@ -168,7 +168,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
struct addrinfo hints;
Curl_addrinfo *res;
int error;
- char sbuf[NI_MAXSERV];
+ char sbuf[12];
char *sbufptr = NULL;
char addrbuf[128];
int pf;