mirror of
https://github.com/tmate-io/tmate.git
synced 2025-03-15 00:29:20 +01:00
Assign flag not number for flag types (we got away with it so far
because that are a union). From Filipe Brandenburger.
This commit is contained in:
parent
dc66795e35
commit
ddb2d1221b
@ -451,7 +451,7 @@ tty_term_find(char *name, int fd, char **cause)
|
||||
if (n == -1)
|
||||
break;
|
||||
code->type = TTYCODE_FLAG;
|
||||
code->value.number = n;
|
||||
code->value.flag = n;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user