Home
last modified time | relevance | path

Searched refs:redir_loc (Results 1 – 1 of 1) sorted by relevance

/external/toybox/toys/pending/
Dwget.c169 char *body, *result, *rc, *r_str, *redir_loc = 0; in wget_main() local
196 redir_loc = strstr(toybuf, "Location: "); in wget_main()
205 if ((eol = strchr(redir_loc, '\r')) > 0) *eol = 0; in wget_main()
206 else if (redir_loc) error_exit("Could not parse redirect URL"); in wget_main()
210 printf("%s \n", redir_loc); in wget_main()
211 redir_loc = redir_loc+strlen("Location: "); in wget_main()
213 get_info(redir_loc, hostname, port, path); in wget_main()