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

Diff for /src/usr.bin/ssh/misc.c between version 1.75 and 1.76

version 1.75, 2010/01/09 23:04:13 version 1.76, 2010/05/21 05:00:36
Line 412 
Line 412 
         int flag = 0;          int flag = 0;
   
         if (*cp == ':')         /* Leading colon is part of file name. */          if (*cp == ':')         /* Leading colon is part of file name. */
                 return (0);                  return NULL;
         if (*cp == '[')          if (*cp == '[')
                 flag = 1;                  flag = 1;
   
Line 424 
Line 424 
                 if (*cp == ':' && !flag)                  if (*cp == ':' && !flag)
                         return (cp);                          return (cp);
                 if (*cp == '/')                  if (*cp == '/')
                         return (0);                          return NULL;
         }          }
         return (0);          return NULL;
 }  }
   
 /* function to assist building execv() arguments */  /* function to assist building execv() arguments */

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76