fixed: a small problem in mountparser (it coused core dumped when there was a wrong mount point supplied)
fixed: 'default' funtion can take a directory now (there was an error early) git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@497 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -92,7 +92,7 @@ void MountParser::ReadMountPoint()
|
||||
}
|
||||
else
|
||||
{
|
||||
err == Error::no_mountpoint;
|
||||
err = Error::no_mountpoint;
|
||||
log << log1 << "MP: there is no such a mount point: " << temp << logend;
|
||||
}
|
||||
}
|
||||
|
@@ -16,7 +16,7 @@ void Mounts::ReadMounts()
|
||||
MountParser mp;
|
||||
|
||||
// !! tymczasowo - bedzie odczyt z bazy z /etc/fstab
|
||||
std::string temp = "thread /forum";
|
||||
std::string temp = "thread /news";
|
||||
|
||||
Error err = mp.Parse(temp, mount_table);
|
||||
|
||||
|
Reference in New Issue
Block a user