1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[data] string parameter was not used

This commit is contained in:
Witold Filipczyk 2023-08-21 16:18:09 +02:00
parent 997bf59a3a
commit 365f1075b8

View File

@ -1345,8 +1345,8 @@ get_translated_uri(char *uristring, char *cwd)
}
#define ADD_EXTENSION_FROM_TYPE(string, type, ext) \
if (!memcmp(uri->data, type ";", sizeof(type ";") - 1) || \
!memcmp(uri->data, type ",", sizeof(type ",") - 1)) \
if (!memcmp(string, type ";", sizeof(type ";") - 1) || \
!memcmp(string, type ",", sizeof(type ",") - 1)) \
return stracpy("." ext);
char *