From 81cff959592762a57af8dbe45dfd85b57ded4b5a Mon Sep 17 00:00:00 2001 From: cold-brewed Date: Wed, 20 Feb 2019 09:30:34 -0500 Subject: [PATCH] Use string_is_equal() due to unknown string size --- menu/cbs/menu_cbs_ok.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index 1fca6d7bdd..cba1da6eb7 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -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));