diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2002-07-25 17:41:47 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2002-07-25 17:41:47 +0000 |
| commit | 4454edd688dec7fcf8395a29335182a0955faec0 (patch) | |
| tree | 842b8d2519685ec4856b4d4c35f65b8844e4bbab | |
| parent | eccb7001eea93b6f78ce07e190eb8f162a7f352d (diff) | |
Notes
| -rw-r--r-- | libexec/ftpd/ftpcmd.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y index 97ae6fb3023f..2ddbf75cd056 100644 --- a/libexec/ftpd/ftpcmd.y +++ b/libexec/ftpd/ftpcmd.y @@ -95,6 +95,7 @@ extern int readonly; extern int noepsv; extern int noretr; extern int noguestretr; +extern char *typenames[]; /* defined in <arpa/ftp.h> included from ftpd.c */ off_t restart_point; @@ -1601,7 +1602,8 @@ sizecmd(char *filename) reply(213, "%qd", count); break; } default: - reply(504, "SIZE not implemented for Type %c.", "?AEIL"[type]); + reply(504, "SIZE not implemented for type %s.", + typenames[type]); } } |
