diff options
| author | darrenr <darrenr@NetBSD.org> | 2002-10-11 10:57:51 +0000 |
|---|---|---|
| committer | darrenr <darrenr@NetBSD.org> | 2002-10-11 10:57:51 +0000 |
| commit | 256e201705f5efa065cf6c6ebc49b062c15eb068 (patch) | |
| tree | fbcd73cdee29e59f5c3941b5d9290c93ba2171b8 /libexec | |
| parent | 84c3d854019de6e0119b48b5fe08368b4d9e83ce (diff) | |
"Command not implemented." is 502, not 501 (RFC959, 4.2.1)
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ftpd/cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftpd/cmds.c b/libexec/ftpd/cmds.c index 1f5ec9b2e4c..b3ced0dcda0 100644 --- a/libexec/ftpd/cmds.c +++ b/libexec/ftpd/cmds.c @@ -1,4 +1,4 @@ -/* $NetBSD: cmds.c,v 1.16 2002/02/13 15:15:23 lukem Exp $ */ +/* $NetBSD: cmds.c,v 1.17 2002/10/11 10:57:51 darrenr Exp $ */ /* * Copyright (c) 1999-2001 The NetBSD Foundation, Inc. @@ -101,7 +101,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: cmds.c,v 1.16 2002/02/13 15:15:23 lukem Exp $"); +__RCSID("$NetBSD: cmds.c,v 1.17 2002/10/11 10:57:51 darrenr Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -333,7 +333,7 @@ opts(const char *command) return; } if (! CMD_IMPLEMENTED(c)) { - reply(501, "%s command not implemented.", c->name); + reply(502, "%s command not implemented.", c->name); return; } if (! CMD_HAS_OPTIONS(c)) { |
