aboutsummaryrefslogtreecommitdiff
path: root/lib/config-os400.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-02-13 13:18:43 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-02-14 10:41:45 +0100
commit358c5c0745a4c47f910189095f3832163b4708c4 (patch)
tree7e605f952fc16496ce4a0b5583c258466948d8e2 /lib/config-os400.h
parentd821525cee3fb43f746fdebf6dcc2dd8daa2bb7f (diff)
strlcat: remove function
This function was only used twice, both in places where performance isn't crucial (socks + if2ip). Removing the use of this function removes the need to have our private version for systems without it == reduced amount of code. Also, in the SOCKS case it is clearly better to fail gracefully rather than to truncate the results. This work was triggered by a bug report on the strcal prototype in strequal.h. strlcat was added in commit db70cd28 in February 2001! Bug: http://curl.haxx.se/bug/view.cgi?id=1192 Reported by: Jeremy Huddleston
Diffstat (limited to 'lib/config-os400.h')
-rw-r--r--lib/config-os400.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/config-os400.h b/lib/config-os400.h
index 208c02903..0ac2cdb61 100644
--- a/lib/config-os400.h
+++ b/lib/config-os400.h
@@ -7,7 +7,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
@@ -298,9 +298,6 @@
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H
-/* Define if you have the `strlcat' function. */
-#undef HAVE_STRLCAT
-
/* Define if you have the `strlcpy' function. */
#undef HAVE_STRLCPY