The getopt_long() option string in mountd was having a spurious
colon after the 'n', leading to the short form of --no-tcp not
being usable (expecting a parameter, contrary to the long form
and the documentation). Fix.
+Author: Steinar H. Gunderson <sgunderson@bigfoot.com>
+Date: Wed Sep 13 22:23:23 CEST 2006
+
+ Fix -n option to mountd
+
+ The getopt_long() option string in mountd was having a spurious
+ colon after the 'n', leading to the short form of --no-tcp not
+ being usable (expecting a parameter, contrary to the long form
+ and the documentation). Fix.
+
Author: Steinar H. Gunderson <sgunderson@bigfoot.com>
Date: Wed Sep 13 22:19:39 CEST 2006
/* Parse the command line options and arguments. */
opterr = 0;
- while ((c = getopt_long(argc, argv, "o:n:Fd:f:p:P:hH:N:V:vs:t:", longopts, NULL)) != EOF)
+ while ((c = getopt_long(argc, argv, "o:nFd:f:p:P:hH:N:V:vs:t:", longopts, NULL)) != EOF)
switch (c) {
case 'o':
descriptors = atoi(optarg);