small patch to session.c

Michael Stone mstone at cs.loyola.edu
Wed Jun 13 02:16:43 EST 2001


In the following code snippit from session.c:
void
session_close_by_pid(pid_t pid, int status)
{
        Session *s = session_by_pid(pid);
        if (s == NULL) {
                debug("session_close_by_pid: no session for pid %d", s->pid);
                return;
        }
        if (s->chanid != -1)
                session_exit_message(s, status);
        session_close(s);
}

the reference to s->pid in the debug statement should probably just be
pid.

-- 
Mike Stone



More information about the openssh-unix-dev mailing list