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

Diff for /src/usr.bin/ssh/match.c between version 1.43 and 1.44

version 1.43, 2020/11/03 22:53:12 version 1.44, 2023/04/06 03:19:32
Line 240 
Line 240 
                 return 0;                  return 0;
         }          }
   
           if (user == NULL)
                   return 0; /* shouldn't happen */
   
         if ((p = strchr(pattern, '@')) == NULL)          if ((p = strchr(pattern, '@')) == NULL)
                 return match_pattern(user, pattern);                  return match_pattern(user, pattern);
   

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44