]> sjero.net Git - wget/commitdiff
[svn] Minor doc fix.
authorhniksic <devnull@localhost>
Sat, 1 Dec 2001 17:48:34 +0000 (09:48 -0800)
committerhniksic <devnull@localhost>
Sat, 1 Dec 2001 17:48:34 +0000 (09:48 -0800)
src/cookies.c

index d4ccb90ac8221a0409efdd3e356a438c3661570c..f1458594efdaa82f8b72c1c7cdc78c21b62e9bc8 100644 (file)
@@ -726,9 +726,9 @@ check_domain_match (const char *cookie_domain, const char *host)
     {
       int dlen = strlen (cookie_domain);
       int hlen = strlen (host);
-      /* hostname.foobar.com                   */
-      /*             bar.com                   */
-      /*            ^ <-- must be '.' for host */
+      /* cookie host:    hostname.foobar.com */
+      /* desired domain:             bar.com */
+      /* '.' must be here in host-> ^        */
       if (hlen > dlen && host[hlen - dlen - 1] != '.')
        return 0;
     }