exactness: Added message notifying about rec file error
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com> SVN revision: 66371
This commit is contained in:
parent
21b1c61796
commit
979d50831d
|
@ -53,10 +53,18 @@ write_events(const char *filename, Lists_st *vr_list)
|
||||||
{
|
{
|
||||||
_data_descriptors_init();
|
_data_descriptors_init();
|
||||||
Eet_File *fp = eet_open(filename, EET_FILE_MODE_WRITE);
|
Eet_File *fp = eet_open(filename, EET_FILE_MODE_WRITE);
|
||||||
eet_data_write(fp, desc->_lists_descriptor, CACHE_FILE_ENTRY, vr_list,
|
if (fp)
|
||||||
EINA_TRUE);
|
{
|
||||||
|
eet_data_write(fp, desc->_lists_descriptor, CACHE_FILE_ENTRY, vr_list,
|
||||||
|
EINA_TRUE);
|
||||||
|
|
||||||
|
eet_close(fp);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf("Failed to create record file <%s>.\n", filename);
|
||||||
|
}
|
||||||
|
|
||||||
eet_close(fp);
|
|
||||||
_data_descriptors_shutdown();
|
_data_descriptors_shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue