comparison src/search.c @ 1498:5f49f305a6b6

improved debug messages
author nadvornik
date Tue, 31 Mar 2009 20:05:16 +0000
parents cb0040be832e
children c9ed5a43c576
comparison
equal deleted inserted replaced
1497:2c54f3f71634 1498:5f49f305a6b6
2944 static void search_notify_cb(FileData *fd, NotifyType type, gpointer data) 2944 static void search_notify_cb(FileData *fd, NotifyType type, gpointer data)
2945 { 2945 {
2946 SearchData *sd = data; 2946 SearchData *sd = data;
2947 2947
2948 if (!(type & NOTIFY_CHANGE) || !fd->change) return; 2948 if (!(type & NOTIFY_CHANGE) || !fd->change) return;
2949
2950 DEBUG_1("Notify search: %s %04x", fd->path, type);
2949 2951
2950 switch (fd->change->type) 2952 switch (fd->change->type)
2951 { 2953 {
2952 case FILEDATA_CHANGE_MOVE: 2954 case FILEDATA_CHANGE_MOVE:
2953 case FILEDATA_CHANGE_RENAME: 2955 case FILEDATA_CHANGE_RENAME: