hfaxd/FileSystem.c++
/*
 * Change the working (pseudo) directory.
 */
Change the working (pseudo) directory.
Change the working ( pseudo ) directory .
void
HylaFAXServer::cwdCmd(const char* path)
{
    SpoolDir* dir = dirAccess(path);
    if (dir) {
	if (Sys::chdir(path) >= 0) {
	    ack(250, cmdToken(T_CWD));
	    cwd = dir;
	} else
	    perror_reply(550, path, errno);
    }
}
void HylaFAXServer :: cwdCmd ( const char * path ) { SpoolDir * dir = dirAccess ( path ) ; if ( dir ) { if ( Sys :: chdir ( path ) >= 0 ) { ack ( 250 , cmdToken ( T_CWD ) ) ; cwd = dir ; } else perror_reply ( 550 , path , errno ) ; } }
Change the working (pseudo) directory.
Change the working ( pseudo ) directory .