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

Diff for /src/usr.bin/ssh/log.c between version 1.60 and 1.61

version 1.60, 2021/09/16 15:11:19 version 1.61, 2023/12/06 21:06:48
Line 427 
Line 427 
         const char *cp;          const char *cp;
         size_t i;          size_t i;
   
           /* short circuit processing early if we're not going to log anything */
           if (nlog_verbose == 0 && level > log_level)
                   return;
   
         snprintf(tag, sizeof(tag), "%.48s:%.48s():%d (pid=%ld)",          snprintf(tag, sizeof(tag), "%.48s:%.48s():%d (pid=%ld)",
             (cp = strrchr(file, '/')) == NULL ? file : cp + 1, func, line,              (cp = strrchr(file, '/')) == NULL ? file : cp + 1, func, line,
             (long)getpid());              (long)getpid());

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61