Lines Matching refs:clist
376 struct Cookie *clist; in Curl_cookie_add() local
811 clist = c->cookies; in Curl_cookie_add()
813 while(clist) { in Curl_cookie_add()
814 if(strcasecompare(clist->name, co->name)) { in Curl_cookie_add()
817 if(clist->domain && co->domain) { in Curl_cookie_add()
818 if(strcasecompare(clist->domain, co->domain) && in Curl_cookie_add()
819 (clist->tailmatch == co->tailmatch)) in Curl_cookie_add()
823 else if(!clist->domain && !co->domain) in Curl_cookie_add()
829 if(clist->spath && co->spath) { in Curl_cookie_add()
830 if(strcasecompare(clist->spath, co->spath)) { in Curl_cookie_add()
836 else if(!clist->spath && !co->spath) in Curl_cookie_add()
843 if(replace_old && !co->livecookie && clist->livecookie) { in Curl_cookie_add()
855 co->next = clist->next; /* get the next-pointer first */ in Curl_cookie_add()
858 free(clist->name); in Curl_cookie_add()
859 free(clist->value); in Curl_cookie_add()
860 free(clist->domain); in Curl_cookie_add()
861 free(clist->path); in Curl_cookie_add()
862 free(clist->spath); in Curl_cookie_add()
863 free(clist->expirestr); in Curl_cookie_add()
864 free(clist->version); in Curl_cookie_add()
865 free(clist->maxage); in Curl_cookie_add()
867 *clist = *co; /* then store all the new data */ in Curl_cookie_add()
870 co = clist; /* point to the previous struct instead */ in Curl_cookie_add()
875 lastc = clist; in Curl_cookie_add()
876 clist = clist->next; in Curl_cookie_add()
877 } while(clist); in Curl_cookie_add()
881 lastc = clist; in Curl_cookie_add()
882 clist = clist->next; in Curl_cookie_add()