[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.311 and 1.312

version 1.311, 2017/09/18 09:41:52 version 1.312, 2017/10/02 19:33:20
Line 2011 
Line 2011 
                         dst->n[dst->num_n] = xstrdup(src->n[dst->num_n]); \                          dst->n[dst->num_n] = xstrdup(src->n[dst->num_n]); \
         } \          } \
 } while(0)  } while(0)
   #define M_CP_STRARRAYOPT_ALLOC(n, num_n) do { \
           if (src->num_n != 0) { \
                   dst->n = xcalloc(src->num_n, sizeof(*dst->n)); \
                   M_CP_STRARRAYOPT(n, num_n); \
                   dst->num_n = src->num_n; \
           } \
   } while(0)
   
         /* See comment in servconf.h */          /* See comment in servconf.h */
         COPY_MATCH_STRING_OPTS();          COPY_MATCH_STRING_OPTS();
Line 2041 
Line 2048 
 #undef M_CP_INTOPT  #undef M_CP_INTOPT
 #undef M_CP_STROPT  #undef M_CP_STROPT
 #undef M_CP_STRARRAYOPT  #undef M_CP_STRARRAYOPT
   #undef M_CP_STRARRAYOPT_ALLOC
   
 void  void
 parse_server_config(ServerOptions *options, const char *filename, Buffer *conf,  parse_server_config(ServerOptions *options, const char *filename, Buffer *conf,

Legend:
Removed from v.1.311  
changed lines
  Added in v.1.312