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

Diff for /src/usr.bin/ssh/ssh-agent.c between version 1.159 and 1.160

version 1.159, 2008/06/28 14:05:15 version 1.160, 2009/03/23 08:31:19
Line 1094 
Line 1094 
         if (ac == 0 && !c_flag && !s_flag) {          if (ac == 0 && !c_flag && !s_flag) {
                 shell = getenv("SHELL");                  shell = getenv("SHELL");
                 if (shell != NULL &&                  if (shell != NULL &&
                     strncmp(shell + strlen(shell) - 3, "csh", 3) == 0)                      strncmp(shell + MAX(strlen(shell) - 3, 0), "csh", 3) == 0)
                         c_flag = 1;                          c_flag = 1;
         }          }
         if (k_flag) {          if (k_flag) {

Legend:
Removed from v.1.159  
changed lines
  Added in v.1.160