change check dir to check with jffs2 (mtd)

Origin commit data
------------------
Branch: ni/coolstream
Commit: 2c3ecf6183
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-03-31 (Tue, 31 Mar 2015)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2015-03-31 12:12:14 +02:00
parent a5c81734a6
commit 520c7b76c5

View File

@@ -30,7 +30,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <sys/stat.h>
#include <system/helpers.h>
#include <xmltree/xmlinterface.h>
#include <zapit/client/zapittools.h>
@@ -517,8 +517,7 @@ static void write_indexxml_footer(FILE *fd)
void writeEventsToFile(const char *epgdir)
{
struct stat my_stat;
if(stat(epgdir, &my_stat) != 0){
if(check_dir(epgdir)){
return;
}