version 1.71, 2011/05/20 03:25:45 |
version 1.72, 2011/05/23 03:30:07 |
|
|
{ |
{ |
Buffer m; |
Buffer m; |
struct passwd *pw; |
struct passwd *pw; |
u_int len; |
u_int len, i; |
ServerOptions *newopts; |
ServerOptions *newopts; |
|
|
debug3("%s entering", __func__); |
debug3("%s entering", __func__); |
|
|
if (newopts->x != NULL) \ |
if (newopts->x != NULL) \ |
newopts->x = buffer_get_string(&m, NULL); \ |
newopts->x = buffer_get_string(&m, NULL); \ |
} while (0) |
} while (0) |
|
#define M_CP_STRARRAYOPT(x, nx) do { \ |
|
for (i = 0; i < newopts->nx; i++) \ |
|
newopts->x[i] = buffer_get_string(&m, NULL); \ |
|
} while (0) |
/* See comment in servconf.h */ |
/* See comment in servconf.h */ |
COPY_MATCH_STRING_OPTS(); |
COPY_MATCH_STRING_OPTS(); |
#undef M_CP_STROPT |
#undef M_CP_STROPT |
|
#undef M_CP_STRARRAYOPT |
|
|
copy_set_server_options(&options, newopts, 1); |
copy_set_server_options(&options, newopts, 1); |
xfree(newopts); |
xfree(newopts); |