mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Merge branch 'obsd-master'
This commit is contained in:
@ -440,7 +440,6 @@ server_check_unattached(void)
|
||||
}
|
||||
}
|
||||
|
||||
/* Set stdin callback. */
|
||||
int
|
||||
server_set_stdin_callback(struct client *c, void (*cb)(struct client *, int,
|
||||
void *), void *cb_data, char **cause)
|
||||
@ -454,7 +453,7 @@ server_set_stdin_callback(struct client *c, void (*cb)(struct client *, int,
|
||||
return (-1);
|
||||
}
|
||||
if (c->stdin_callback != NULL) {
|
||||
*cause = xstrdup("stdin in use");
|
||||
*cause = xstrdup("stdin is in use");
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user