Lines Matching full:url
14 * Because the URL can be included twice into the buffer, once as the
18 * URL being too long tells you something is wrong and does not fetch
19 * any data - just truncating the URL (with snprintf, etc) and sending
30 load_http(char *url) in load_http() argument
41 if (strlen(url) > MAX_URL_LEN) { in load_http()
42 fprintf(stderr, "load_http has a URL > %d bytes?!\n", in load_http()
52 error = snprintf(buffer, avail, "GET %s HTTP/1.0\r\n", url); in load_http()
56 * the url length above. in load_http()
60 myurl = strdup(url); in load_http()
67 fprintf(stderr, "load_http has a malformed URL '%s'\n", url); in load_http()
77 fprintf(stderr, "load_http has a malformed URL '%s'\n", url); in load_http()
88 fprintf(stderr, "URL is too large: %s\n", url); in load_http()
189 url, linenum, buffer); in load_http()