mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08: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…
x
Reference in New Issue
Block a user