mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-25 20:25:42 +00:00
(net_http.c) Move back to strcpy
This commit is contained in:
parent
f3044b8748
commit
d02b6ddd69
@ -181,7 +181,7 @@ http_t *net_http_new(const char * url)
|
||||
http_t *state = NULL;
|
||||
char *urlcopy =(char*)malloc(strlen(url)+1);
|
||||
|
||||
strlcpy(urlcopy, url, sizeof(urlcopy));
|
||||
strcpy(urlcopy, url);
|
||||
|
||||
if (!net_http_parse_url(urlcopy, &domain, &port, &location))
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user