Changeset 995610e1 in rtems


Ignore:
Timestamp:
Feb 13, 2013, 1:17:41 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
91de38f8
Parents:
83a2fad
git-author:
Sebastian Huber <sebastian.huber@…> (02/13/13 13:17:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/13/13 13:19:50)
Message:

ftpd: Go back to the root directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ftpd/ftpd.c

    r83a2fad r995610e1  
    19581958      send_reply(info, 421, "Service not available, closing control connection.");
    19591959    }
     1960
     1961    /*
     1962     * Go back to the root directory.  A use case is to release a current
     1963     * directory in a mounted file system on dynamic media, e.g. USB stick.
     1964     * The return value can be ignored since the next session will try do the
     1965     * operation again and an error check is performed in this case.
     1966     */
     1967    chdir("/");
    19601968
    19611969    /* Close connection and put ourselves back into the task pool. */
Note: See TracChangeset for help on using the changeset viewer.