diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-10-31 23:49:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-10-31 23:49:54 +0100 |
commit | 07b95ea2680990055d12c935994044dfa24d8e9b (patch) | |
tree | 6009a02d30c4b682e9194c2bb0e86b07b354a51b /tests/server/util.h | |
parent | 95bd2b3e7f00b9ecbd4d5ea7d8bc3b59fcb038c0 (diff) |
tests/util: get a private strncasecompare clone
... since the curlx_* code no longer provides one and we don't link
libcurl to these test servers.
Diffstat (limited to 'tests/server/util.h')
-rw-r--r-- | tests/server/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/server/util.h b/tests/server/util.h index 2a19a613b..c90fcdf32 100644 --- a/tests/server/util.h +++ b/tests/server/util.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2016, 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 @@ -63,4 +63,6 @@ void set_advisor_read_lock(const char *filename); void clear_advisor_read_lock(const char *filename); +int strncasecompare(const char *first, const char *second, size_t max); + #endif /* HEADER_CURL_SERVER_UTIL_H */ |