=== modified file 'dcpp/DirectoryListing.cpp' --- dcpp/DirectoryListing.cpp 2008-04-26 14:00:33 +0000 +++ dcpp/DirectoryListing.cpp 2008-05-26 01:32:34 +0000 @@ -91,7 +91,7 @@ txt.append(&buf[0], len); bytesRead += len; if(SETTING(MAX_FILELIST_SIZE) && bytesRead > (size_t)SETTING(MAX_FILELIST_SIZE)*1024*1024) - break; + throw FileException(_("Greater than maximum filelist size")); if(len < BUF_SIZE) break; }