record.cpp:fix possible recording in flash

Origin commit data
------------------
Branch: ni/coolstream
Commit: 309c17d567
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-05 (Fri, 05 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-10-05 12:44:59 +02:00
parent 14d2705fb9
commit b41d511f52

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;
}
}