comparison http.c @ 5776:d34f985d6e8f libavformat

Reindent
author mstorsjo
date Mon, 08 Mar 2010 09:05:03 +0000
parents 7a123cc24a81
children d605f589f0be
comparison
equal deleted inserted replaced
5775:7a123cc24a81 5776:d34f985d6e8f
68 68
69 /* fill the dest addr */ 69 /* fill the dest addr */
70 redo: 70 redo:
71 /* needed in any case to build the host string */ 71 /* needed in any case to build the host string */
72 ff_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, 72 ff_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port,
73 path1, sizeof(path1), s->location); 73 path1, sizeof(path1), s->location);
74 ff_url_join(hoststr, sizeof(hoststr), NULL, NULL, hostname, port, NULL); 74 ff_url_join(hoststr, sizeof(hoststr), NULL, NULL, hostname, port, NULL);
75 75
76 if (use_proxy) { 76 if (use_proxy) {
77 ff_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, 77 ff_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port,
78 NULL, 0, proxy_path); 78 NULL, 0, proxy_path);
79 path = s->location; 79 path = s->location;
80 } else { 80 } else {
81 if (path1[0] == '\0') 81 if (path1[0] == '\0')
82 path = "/"; 82 path = "/";
83 else 83 else