CTRACE(tfp, "LYCookie: Searching for '%s:%d', '%s'.\n", (hostname ? hostname : "(null)"),
CTRACE((tfp, "LYCookie: Searching for '%s:%d', '%s'.\n", NONNULL(hostname),
PUBLIC char * LYCookie ARGS4(	CONST char *,	hostname,	CONST char *,	path,	int,		port,	BOOL,		secure){    char *header = NULL;    HTList *hl = domain_list, *next = NULL;    domain_entry *de;    CTRACE(tfp, "LYCookie: Searching for '%s:%d', '%s'.\n",		(hostname ? hostname : "(null)"),		port,		(path ? path : "(null)"));    /*     *	Search the cookie_list elements in the domain_list     *	for any cookies associated with the //hostname:port/path     */    while (hl) {	de = (domain_entry *)hl->object;	next = hl->next;	if (de != NULL) {	    if (!HTList_isEmpty(de->cookie_list)) {		/*		 *  Scan the domain's cookie_list for		 *  any cookies we should include in		 *  our request header.		 */		header = scan_cookie_sublist(hostname, path, port,					     de->cookie_list, header, secure);	    } else if (de->bv == QUERY_USER && de->invcheck_bv == INVCHECK_QUERY) {		/*		 *  No cookies in this domain, and no default		 *  accept/reject choice was set by the user,		 *  so delete the domain. - FM		 */		FREE(de->domain);		HTList_delete(de->cookie_list);		de->cookie_list = NULL;		HTList_removeObject(domain_list, de);		FREE(de);	    }	}	hl = next;    }    if (header)	return(header);    return(NULL);}