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

Diff for /src/usr.bin/ssh/readconf.c between version 1.365 and 1.366

version 1.365, 2022/02/04 02:49:17 version 1.366, 2022/02/08 08:59:12
Line 929 
Line 929 
     const char *original_host, char *line, const char *filename,      const char *original_host, char *line, const char *filename,
     int linenum, int *activep, int flags, int *want_final_pass, int depth)      int linenum, int *activep, int flags, int *want_final_pass, int depth)
 {  {
         char *str, **charptr, *endofnumber, *keyword, *arg, *arg2, *p, ch;          char *str, **charptr, *endofnumber, *keyword, *arg, *arg2, *p;
         char **cpptr, ***cppptr, fwdarg[256];          char **cpptr, ***cppptr, fwdarg[256];
         u_int i, *uintptr, uvalue, max_entries = 0;          u_int i, *uintptr, uvalue, max_entries = 0;
         int r, oactive, negated, opcode, *intptr, value, value2, cmdline = 0;          int r, oactive, negated, opcode, *intptr, value, value2, cmdline = 0;
Line 1570 
Line 1570 
                 }                  }
                 while ((arg = argv_next(&ac, &av)) != NULL) {                  while ((arg = argv_next(&ac, &av)) != NULL) {
                         arg2 = xstrdup(arg);                          arg2 = xstrdup(arg);
                         ch = '\0';                          p = hpdelim(&arg);
                         p = hpdelim2(&arg, &ch);                          if (p == NULL) {
                         if (p == NULL || ch == '/') {  
                                 fatal("%s line %d: missing host in %s",                                  fatal("%s line %d: missing host in %s",
                                     filename, linenum,                                      filename, linenum,
                                     lookup_opcode_name(opcode));                                      lookup_opcode_name(opcode));

Legend:
Removed from v.1.365  
changed lines
  Added in v.1.366