diff options
author | neilbrown <neilbrown> | 2003-07-14 22:17:24 +0000 |
---|---|---|
committer | neilbrown <neilbrown> | 2003-07-14 22:17:24 +0000 |
commit | 317522198e1493fe0f1b10614ff2f3a582a9aaff (patch) | |
tree | a66f85bea45f294b55c48107b5e6e88751fd220d /utils/mountd | |
parent | 8b5bc63a7d56666950d4e3cd0937ab5187e84730 (diff) | |
download | nfs-utils-317522198e1493fe0f1b10614ff2f3a582a9aaff.tar.gz nfs-utils-317522198e1493fe0f1b10614ff2f3a582a9aaff.tar.xz nfs-utils-317522198e1493fe0f1b10614ff2f3a582a9aaff.zip |
Assorted fixes
Diffstat (limited to 'utils/mountd')
-rw-r--r-- | utils/mountd/auth.c | 1 | ||||
-rw-r--r-- | utils/mountd/mountd.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/utils/mountd/auth.c b/utils/mountd/auth.c index f968b07..6361fce 100644 --- a/utils/mountd/auth.c +++ b/utils/mountd/auth.c @@ -166,7 +166,6 @@ auth_authenticate(char *what, struct sockaddr_in *caller, char *path) if (p == epath) p++; *p = '\0'; } - free(hp); switch (error) { case bad_path: diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c index 953891d..ae5daa1 100644 --- a/utils/mountd/mountd.c +++ b/utils/mountd/mountd.c @@ -438,7 +438,7 @@ main(int argc, char **argv) /* Parse the command line options and arguments. */ opterr = 0; - while ((c = getopt_long(argc, argv, "on:Fd:f:p:P:hN:V:v", longopts, NULL)) != EOF) + while ((c = getopt_long(argc, argv, "o:n:Fd:f:p:P:hN:V:v", longopts, NULL)) != EOF) switch (c) { case 'o': descriptors = atoi(optarg); |