diff src/cache_maint.c @ 1432:cf4029d10d38

improved notification system
author nadvornik
date Sat, 14 Mar 2009 17:21:35 +0000
parents 3a9fb1b52559
children a3d3208b0c50
line wrap: on
line diff
--- a/src/cache_maint.c	Sat Mar 14 11:26:43 2009 +0000
+++ b/src/cache_maint.c	Sat Mar 14 17:21:35 2009 +0000
@@ -621,7 +621,7 @@
 
 void cache_notify_cb(FileData *fd, NotifyType type, gpointer data)
 {
-	if (type != NOTIFY_TYPE_CHANGE || !fd->change) return;
+	if (!(type & NOTIFY_CHANGE) || !fd->change) return;
 	
 	switch (fd->change->type)
 		{