summaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-02-07 22:53:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-02-07 22:53:37 +0000
commitbf44d0f6400bc51a5cddb7d920db150c1d818d5c (patch)
tree9378d429b11058133dde4cc927e134d13788a6e7 /lib/url.c
parent73cf99c052a90882a5f11831ae8e6b79182eb2a2 (diff)
downloadcurl-bf44d0f6400bc51a5cddb7d920db150c1d818d5c.tar.gz
Moved Curl_strntoupper() to the rawstr.c file where the other raw string
functions are.
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/url.c b/lib/url.c
index 80d55bd55..6d5bf4207 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -230,21 +230,6 @@ void Curl_safefree(void *ptr)
free(ptr);
}
-/* Copy an upper case version of the string from src to dest. The
- * strings may overlap. No more than n characters of the string are copied
- * (including any NUL) and the destination string will NOT be
- * NUL-terminated if that limit is reached.
- */
-void Curl_strntoupper(char *dest, const char *src, size_t n)
-{
- if (n < 1)
- return;
-
- do {
- *dest++ = Curl_raw_toupper(*src);
- } while (*src++ && --n);
-}
-
static void close_connections(struct SessionHandle *data)
{
/* Loop through all open connections and kill them one by one */