1
0
Fork 0

Add a bit more sanity checking on destination directory.

This commit is contained in:
curt 2004-02-16 20:50:42 +00:00
parent 7d6d574a50
commit 2402516dfa

View file

@ -207,7 +207,7 @@ void FGAdminUI::update_remove_box() {
remove_box->clear();
if ( dest.length() ) {
if ( dest.length() && fl_filename_isdir(dest.c_str()) ) {
ulDir *dir = ulOpenDir( dest.c_str() ) ;
ulDirEnt *ent;
while ( ent = ulReadDir( dir ) ) {