summaryrefslogtreecommitdiffstats
path: root/cpukit/ftpd
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-20 19:17:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-20 19:17:08 +0000
commita8c3326863d5c422f8d9094ef5df5ca285213bb1 (patch)
treead38836e958836d6ddc721deb7b36b36772dc5a4 /cpukit/ftpd
parent52dace910596b54562680f511abe3d0c9db295d0 (diff)
downloadrtems-a8c3326863d5c422f8d9094ef5df5ca285213bb1.tar.bz2
2001-04-20 Jake Janovetz <janovetz@uiuc.edu>
* rtems_servers/ftpd.c: Correct argument so hooks work again.
Diffstat (limited to 'cpukit/ftpd')
-rw-r--r--cpukit/ftpd/ftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c
index f238bd8654..66ea1e2850 100644
--- a/cpukit/ftpd/ftpd.c
+++ b/cpukit/ftpd/ftpd.c
@@ -963,7 +963,7 @@ command_store(FTPD_SessionInfo_t *info, char const *filename)
hook = &rtems_ftpd_configuration.hooks[i++];
while (hook->filename != NULL)
{
- if (!strcmp(hook->filename, buf))
+ if (!strcmp(hook->filename, filename))
{
usehook = hook;
break;