Mercurial > libavformat.hg
diff http.c @ 2193:5ce5fad0dfac libavformat
replace the uses of old string functions that Reimar missed
| author | mru |
|---|---|
| date | Sun, 24 Jun 2007 11:27:12 +0000 |
| parents | da71207a7cf1 |
| children | b21c2af60bc9 |
line wrap: on
line diff
--- a/http.c Sun Jun 24 07:45:19 2007 +0000 +++ b/http.c Sun Jun 24 11:27:12 2007 +0000 @@ -63,7 +63,7 @@ proxy_path = getenv("http_proxy"); use_proxy = (proxy_path != NULL) && !getenv("no_proxy") && - strstart(proxy_path, "http://", NULL); + av_strstart(proxy_path, "http://", NULL); /* fill the dest addr */ redo: @@ -126,7 +126,7 @@ h->priv_data = s; s->filesize = -1; s->off = 0; - pstrcpy (s->location, URL_SIZE, uri); + av_strlcpy(s->location, uri, URL_SIZE); ret = http_open_cnx(h); if (ret != 0)
