From 309c17d56752b0558cdd7184add6b57ddfa2fba4 Mon Sep 17 00:00:00 2001 From: satbaby Date: Fri, 5 Oct 2012 12:44:59 +0200 Subject: [PATCH] record.cpp:fix possible recording in flash --- src/driver/record.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index 1112022d9..222f956e5 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -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; } }