comparison src/collect.c @ 1498:5f49f305a6b6

improved debug messages
author nadvornik
date Tue, 31 Mar 2009 20:05:16 +0000
parents d7a6fb7a90dd
children 760f585d9fa0
comparison
equal deleted inserted replaced
1497:2c54f3f71634 1498:5f49f305a6b6
748 static void collection_notify_cb(FileData *fd, NotifyType type, gpointer data) 748 static void collection_notify_cb(FileData *fd, NotifyType type, gpointer data)
749 { 749 {
750 CollectionData *cd = data; 750 CollectionData *cd = data;
751 751
752 if (!(type & NOTIFY_CHANGE) || !fd->change) return; 752 if (!(type & NOTIFY_CHANGE) || !fd->change) return;
753
754 DEBUG_1("Notify collection: %s %04x", fd->path, type);
753 755
754 switch (fd->change->type) 756 switch (fd->change->type)
755 { 757 {
756 case FILEDATA_CHANGE_MOVE: 758 case FILEDATA_CHANGE_MOVE:
757 case FILEDATA_CHANGE_RENAME: 759 case FILEDATA_CHANGE_RENAME: