summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-01 12:53:56 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-01 12:53:56 +0000
commitf782172e5a62806f527b56d5fc12e2687c1ea06c (patch)
tree3955b200029327718e2c847121291fca8235a598 /legacy
parent52c05aaa013dc29d03490c03778657c48d4e3b42 (diff)
if disk error has already occurred, delete check timer
SVN revision: 74737
Diffstat (limited to 'legacy')
-rw-r--r--legacy/eeze/src/lib/eeze_disk_mount.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/legacy/eeze/src/lib/eeze_disk_mount.c b/legacy/eeze/src/lib/eeze_disk_mount.c
index 7517e108fd..4c9b7f2ed9 100644
--- a/legacy/eeze/src/lib/eeze_disk_mount.c
+++ b/legacy/eeze/src/lib/eeze_disk_mount.c
@@ -48,6 +48,11 @@ _eeze_disk_mount_error_handler(Eeze_Disk *disk, const char *error)
48 if (!(de = calloc(1, sizeof(Eeze_Event_Disk_Error)))) 48 if (!(de = calloc(1, sizeof(Eeze_Event_Disk_Error))))
49 return; 49 return;
50 50
51 if (disk->mount_fail_delay)
52 {
53 ecore_timer_del(disk->mount_fail_delay);
54 disk->mount_fail_delay = NULL;
55 }
51 de->disk = disk; 56 de->disk = disk;
52 de->message = eina_stringshare_add(error); 57 de->message = eina_stringshare_add(error);
53 /* FIXME: placeholder since currently there are only mount-type errors */ 58 /* FIXME: placeholder since currently there are only mount-type errors */