free(opt->ntseparator);
if (opt->logconfig && (opt->logconfig != save->logconfig))
free(opt->logconfig);
+ if (opt->mimicmodel && (opt->mimicmodel != save->mimicmodel))
+ free(opt->mimicmodel);
}
/* initialize options */
options->tcp_sndbuf = 0; /* 0 means don't change OS default */
options->tcp_rcvbuf = 0; /* 0 means don't change OS default */
options->dsireadbuf = 12;
+ options->mimicmodel = NULL;
}
/* parse an afpd.conf line. i'm doing it this way because it's
fce_set_events(c);
}
+ if ((c = getoption(buf, "-mimicmodel")) && (opt = strdup(c)))
+ options->mimicmodel = opt;
+
return 1;
}