record.cpp:fix possible recording in flash

Origin commit data
------------------
Commit: 309c17d567
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-05 (Fri, 05 Oct 2012)
This commit is contained in:
Jacek Jendrzej
2012-10-05 12:44:59 +02:00
parent 4e6ea3810f
commit eafe3d2924

View File

@@ -575,6 +575,8 @@ record_error_msg_t CRecordInstance::MakeFileName(CZapitChannel * channel)
return RECORD_INVALID_DIRECTORY;
/* fallback to g_settings.network_nfs_recordingdir */
Directory = std::string(g_settings.network_nfs_recordingdir);
}else{
return RECORD_INVALID_DIRECTORY;
}
}