Client flags was changed to uint64_t a while ago, fix a few cases where

it is still int (do not matter now but will with some new flags). From
Michael Grant.
This commit is contained in:
nicm
2024-08-26 07:30:46 +00:00
parent a84c109604
commit 73b2277af8
5 changed files with 24 additions and 18 deletions

View File

@ -445,11 +445,12 @@ client_send_identify(const char *ttynam, const char *termname, char **caps,
{
char **ss;
size_t sslen;
int fd, flags = client_flags;
int fd;
uint64_t flags = client_flags;
pid_t pid;
u_int i;
proc_send(client_peer, MSG_IDENTIFY_FLAGS, -1, &flags, sizeof flags);
proc_send(client_peer, MSG_IDENTIFY_LONGFLAGS, -1, &flags, sizeof flags);
proc_send(client_peer, MSG_IDENTIFY_LONGFLAGS, -1, &client_flags,
sizeof client_flags);