Use string_is_equal() due to unknown string size

This commit is contained in:
cold-brewed 2019-02-20 09:30:34 -05:00
parent ece17f6a61
commit 81cff95959
1 changed files with 1 additions and 1 deletions

View File

@ -3679,7 +3679,7 @@ static int action_ok_download_generic(const char *path,
transf->enum_idx = enum_idx;
strlcpy(transf->path, path, sizeof(transf->path));
if (string_is_equal_fast(path, s, sizeof(path))) {
if (string_is_equal(path, s)) {
net_http_urlencode_full(s3, s, sizeof(s3));
} else {
net_http_urlencode_full(s3, s2, sizeof(s3));