mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
MIME: get_mime_handler_option: Rename local variable opt to type_opt
This commit is contained in:
parent
386684fe50
commit
8f4b40d4a0
@ -174,19 +174,19 @@ get_mime_type_option(unsigned char *type)
|
||||
static inline struct option *
|
||||
get_mime_handler_option(unsigned char *type, int xwin)
|
||||
{
|
||||
struct option *opt = get_mime_type_option(type);
|
||||
struct option *type_opt = get_mime_type_option(type);
|
||||
unsigned char *name;
|
||||
|
||||
if (!opt) return NULL;
|
||||
if (!type_opt) return NULL;
|
||||
|
||||
name = straconcat("mime.handler.", opt->value.string,
|
||||
name = straconcat("mime.handler.", type_opt->value.string,
|
||||
".", get_system_str(xwin), NULL);
|
||||
if (!name) return NULL;
|
||||
|
||||
opt = get_opt_rec_real(config_options, name);
|
||||
type_opt = get_opt_rec_real(config_options, name);
|
||||
mem_free(name);
|
||||
|
||||
return opt;
|
||||
return type_opt;
|
||||
}
|
||||
|
||||
static struct mime_handler *
|
||||
|
Loading…
Reference in New Issue
Block a user