~ubuntu-branches/ubuntu/intrepid/curl/intrepid

« back to all changes in this revision

Viewing changes to lib/cookie.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-10-30 10:56:48 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061030105648-uo8q8w9xklb40b4k
Tags: 7.15.5-1ubuntu1
* Merge from debian unstable. Remaining Ubuntu changes:
  - debian/control: Drop libdb4.2 build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
19
 * KIND, either express or implied.
20
20
 *
21
 
 * $Id: cookie.c,v 1.74 2006-05-24 22:46:39 bagder Exp $
 
21
 * $Id: cookie.c,v 1.75 2006-07-08 18:52:08 bagder Exp $
22
22
 ***************************************************************************/
23
23
 
24
24
/***
760
760
        /* now check the left part of the path with the cookies path
761
761
           requirement */
762
762
        if(!co->path ||
763
 
           checkprefix(co->path, path) ) {
 
763
           /* not using checkprefix() because matching should be
 
764
              case-sensitive */
 
765
           !strncmp(co->path, path, strlen(co->path)) ) {
764
766
 
765
767
          /* and now, we know this is a match and we should create an
766
768
             entry for the return-linked-list */