diff src/collect-io.c @ 803:764fd82dd099

better check for notify type
author nadvornik
date Sun, 08 Jun 2008 19:09:44 +0000
parents 278962ba162a
children e5172386f229
line wrap: on
line diff
--- a/src/collect-io.c	Sun Jun 08 09:25:39 2008 +0000
+++ b/src/collect-io.c	Sun Jun 08 19:09:44 2008 +0000
@@ -928,7 +928,7 @@
 void collect_manager_notify_cb(FileData *fd, NotifyType type, gpointer data)
 {
 
-	if (!fd->change) return;
+	if (type != NOTIFY_TYPE_CHANGE || !fd->change) return;
 	
 	switch(fd->change->type)
 		{