mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Rename config variable 'tty' to 'device'
This commit is contained in:
parent
6f9e41152b
commit
48a2298e81
2 changed files with 9 additions and 9 deletions
|
|
@ -112,7 +112,7 @@ static int data_handler(void *user, const char *section, const char *name,
|
|||
if (!strcmp(section, c.section_name))
|
||||
{
|
||||
// Set configuration parameter if found
|
||||
if (!strcmp(name, "tty"))
|
||||
if (!strcmp(name, "device"))
|
||||
{
|
||||
asprintf(&c.tty, value, c.match);
|
||||
option.tty_device = c.tty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue