ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libptytty/src/ptytty.C
(Generate patch)

Comparing libptytty/src/ptytty.C (file contents):
Revision 1.12 by root, Sun Jan 22 12:22:37 2006 UTC vs.
Revision 1.13 by root, Mon Jan 23 11:02:27 2006 UTC

482 } 482 }
483 } 483 }
484 else if (cmd.type == command::login) 484 else if (cmd.type == command::login)
485 { 485 {
486#if UTMP_SUPPORT 486#if UTMP_SUPPORT
487 if (find (ptys.begin (), ptys.end (), cmd.id)) 487 if (find (ptys.begin (), ptys.end (), cmd.id) != ptys.end ())
488 { 488 {
489 cmd.hostname[sizeof (cmd.hostname) - 1] = 0; 489 cmd.hostname[sizeof (cmd.hostname) - 1] = 0;
490 cmd.id->login (cmd.cmd_pid, cmd.login_shell, cmd.hostname); 490 cmd.id->login (cmd.cmd_pid, cmd.login_shell, cmd.hostname);
491 } 491 }
492#endif 492#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines