exmpales: Init rc in ssh_server_fork

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider 2018-09-27 15:53:49 +02:00
parent 12ec1fed2f
commit 7e6b540277

View File

@ -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) {
int n, rc;
int n;
int rc = 0;
/* Structure for storing the pty size. */
struct winsize wsize = {