[BACK]Return to session.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/session.c between version 1.110 and 1.111

version 1.110, 2001/12/01 21:41:48 version 1.111, 2001/12/06 18:09:23
Line 1077 
Line 1077 
   
                         /* Start the shell.  Set initial character to '-'. */                          /* Start the shell.  Set initial character to '-'. */
                         buf[0] = '-';                          buf[0] = '-';
                         strncpy(buf + 1, cp, sizeof(buf) - 1);                          strlcpy(buf + 1, cp, sizeof(buf) - 1);
                         buf[sizeof(buf) - 1] = 0;  
   
                         /* Execute the shell. */                          /* Execute the shell. */
                         argv[0] = buf;                          argv[0] = buf;

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.111