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

Diff for /src/usr.bin/ssh/servconf.c between version 1.150 and 1.151

version 1.150, 2006/03/25 13:17:02 version 1.151, 2006/07/06 10:47:05
Line 411 
Line 411 
         ServerOpCodes opcode;          ServerOpCodes opcode;
         u_short port;          u_short port;
         u_int i;          u_int i;
           size_t len;
   
         cp = line;          cp = line;
         if ((arg = strdelim(&cp)) == NULL)          if ((arg = strdelim(&cp)) == NULL)
Line 860 
Line 861 
                         fatal("%s line %d: Missing subsystem command.",                          fatal("%s line %d: Missing subsystem command.",
                             filename, linenum);                              filename, linenum);
                 options->subsystem_command[options->num_subsystems] = xstrdup(arg);                  options->subsystem_command[options->num_subsystems] = xstrdup(arg);
   
                   /* Collect arguments (separate to executable) */
                   p = xstrdup(arg);
                   len = strlen(p) + 1;
                   while ((arg = strdelim(&cp)) != NULL && *arg != '\0') {
                           len += 1 + strlen(arg);
                           p = xrealloc(p, 1, len);
                           strlcat(p, " ", len);
                           strlcat(p, arg, len);
                   }
                   options->subsystem_args[options->num_subsystems] = p;
                 options->num_subsystems++;                  options->num_subsystems++;
                 break;                  break;
   

Legend:
Removed from v.1.150  
changed lines
  Added in v.1.151