]> sjero.net Git - wget/blobdiff - src/cookies.c
[svn] Attempt to quote '?' as "%3F" when linking to local files.
[wget] / src / cookies.c
index 766896c2e5e70741497219e1a68c85d879a182b3..5f3749512e3c8f3e1f8a7a9888af475d169d619b 100644 (file)
@@ -836,20 +836,6 @@ set_cookie_header_cb (const char *hdr, void *closure)
    previously stored cookies.  Entry point is
    `build_cookies_request'.  */
 
-
-/* Count how many times CHR occurs in STRING. */
-
-static int
-count_char (const char *string, char chr)
-{
-  const char *p;
-  int count = 0;
-  for (p = string; *p; p++)
-    if (*p == chr)
-      ++count;
-  return count;
-}
-
 /* Store CHAIN to STORE if there is room in STORE.  If not, inrecement
    COUNT anyway, so that when the function is done, we end up with the
    exact count of how much place we actually need.  */