[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.393 and 1.394

version 1.393, 2023/05/24 23:01:06 version 1.394, 2023/06/05 13:24:36
Line 908 
Line 908 
   
 /* Parse a ChannelTimeout clause "pattern=interval" */  /* Parse a ChannelTimeout clause "pattern=interval" */
 static int  static int
 parse_timeout(const char *s, char **typep, u_int *secsp)  parse_timeout(const char *s, char **typep, int *secsp)
 {  {
         char *cp, *sdup;          char *cp, *sdup;
         int secs;          int secs;
Line 934 
Line 934 
         if (typep != NULL)          if (typep != NULL)
                 *typep = xstrdup(sdup);                  *typep = xstrdup(sdup);
         if (secsp != NULL)          if (secsp != NULL)
                 *secsp = (u_int)secs;                  *secsp = secs;
         free(sdup);          free(sdup);
         return 0;          return 0;
 }  }
Line 942 
Line 942 
 void  void
 process_channel_timeouts(struct ssh *ssh, ServerOptions *options)  process_channel_timeouts(struct ssh *ssh, ServerOptions *options)
 {  {
         u_int i, secs;          int secs;
           u_int i;
         char *type;          char *type;
   
         debug3_f("setting %u timeouts", options->num_channel_timeouts);          debug3_f("setting %u timeouts", options->num_channel_timeouts);

Legend:
Removed from v.1.393  
changed lines
  Added in v.1.394