[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.232.2.1 and 1.233

version 1.232.2.1, 2016/01/14 14:48:36 version 1.233, 2015/03/30 00:00:29
Line 751 
Line 751 
         }          }
   
         /* Strip trailing whitespace */          /* Strip trailing whitespace */
         for (len = strlen(line) - 1; len > 0; len--) {          if ((len = strlen(line)) == 0)
                   return 0;
           for (len--; len > 0; len--) {
                 if (strchr(WHITESPACE, line[len]) == NULL)                  if (strchr(WHITESPACE, line[len]) == NULL)
                         break;                          break;
                 line[len] = '\0';                  line[len] = '\0';
Line 1648 
Line 1650 
         options->tun_remote = -1;          options->tun_remote = -1;
         options->local_command = NULL;          options->local_command = NULL;
         options->permit_local_command = -1;          options->permit_local_command = -1;
         options->use_roaming = 0;          options->use_roaming = -1;
         options->visual_host_key = -1;          options->visual_host_key = -1;
         options->ip_qos_interactive = -1;          options->ip_qos_interactive = -1;
         options->ip_qos_bulk = -1;          options->ip_qos_bulk = -1;
Line 1821 
Line 1823 
                 options->tun_remote = SSH_TUNID_ANY;                  options->tun_remote = SSH_TUNID_ANY;
         if (options->permit_local_command == -1)          if (options->permit_local_command == -1)
                 options->permit_local_command = 0;                  options->permit_local_command = 0;
         options->use_roaming = 0;          if (options->use_roaming == -1)
                   options->use_roaming = 1;
         if (options->visual_host_key == -1)          if (options->visual_host_key == -1)
                 options->visual_host_key = 0;                  options->visual_host_key = 0;
         if (options->ip_qos_interactive == -1)          if (options->ip_qos_interactive == -1)

Legend:
Removed from v.1.232.2.1  
changed lines
  Added in v.1.233