mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-05 20:55:46 +03:00
exmpales: Init rc in ssh_server_fork
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -472,7 +472,8 @@ static int process_stderr(socket_t fd, int revents, void *userdata) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void handle_session(ssh_event event, ssh_session session) {
|
static void handle_session(ssh_event event, ssh_session session) {
|
||||||
int n, rc;
|
int n;
|
||||||
|
int rc = 0;
|
||||||
|
|
||||||
/* Structure for storing the pty size. */
|
/* Structure for storing the pty size. */
|
||||||
struct winsize wsize = {
|
struct winsize wsize = {
|
||||||
|
Reference in New Issue
Block a user