[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.341 and 1.342

version 1.341, 2020/11/11 05:22:32 version 1.342, 2020/11/15 22:34:58
Line 2537 
Line 2537 
   
                 if (first) {                  if (first) {
                         /* First argument and configuration is active */                          /* First argument and configuration is active */
                         if (parse_ssh_uri(cp, &user, &host, &port) == -1 &&                          if (parse_ssh_uri(cp, &user, &host, &port) == -1 ||
                             parse_user_host_port(cp, &user, &host, &port) != 0)                              parse_user_host_port(cp, &user, &host, &port) != 0)
                                 goto out;                                  goto out;
                 } else {                  } else {
                         /* Subsequent argument or inactive configuration */                          /* Subsequent argument or inactive configuration */
                         if (parse_ssh_uri(cp, NULL, NULL, NULL) == -1 &&                          if (parse_ssh_uri(cp, NULL, NULL, NULL) == -1 ||
                             parse_user_host_port(cp, NULL, NULL, NULL) != 0)                              parse_user_host_port(cp, NULL, NULL, NULL) != 0)
                                 goto out;                                  goto out;
                 }                  }

Legend:
Removed from v.1.341  
changed lines
  Added in v.1.342