Lines Matching defs:new
181 fprintf(stderr, "%s(): new chunk: %lu (%lu)\n",
1591 struct url *url, *new;
1628 new = NULL;
1813 * headers to get the new location.
1897 if (new)
1898 free(new);
1904 new = fetchMakeURL(url->scheme, url->host,
1907 new = fetchParseURL(p);
1908 if (new == NULL) {
1910 DEBUGF("failed to parse new URL\n");
1915 if (strcmp(new->host, url->host) == 0 &&
1916 !*new->user && !*new->pwd) {
1917 strcpy(new->user, url->user);
1918 strcpy(new->pwd, url->pwd);
1920 new->offset = url->offset;
1921 new->length = url->length;
1922 new->ims_time = url->ims_time;
1991 if (!new) {
1992 DEBUGF("redirect with no new location\n");
1997 url = new;