summaryrefslogtreecommitdiff
path: root/src/bin/spy.c
diff options
context:
space:
mode:
authorGuillaume Friloux <kuri@e4.enlightenment.org>2013-06-04 16:32:54 +0200
committerGuillaume Friloux <kuri@e4.enlightenment.org>2013-06-04 16:32:54 +0200
commit79834374f4f297386d6876c3c692c06929cc219f (patch)
treeff43c8f0e1869e522affa089dbfeb993ef93445a /src/bin/spy.c
parentcc4ff2c409f9ab24b3348f3abb06521e6c5aadf5 (diff)
Fuck you 32 bits.
Diffstat (limited to 'src/bin/spy.c')
-rw-r--r--src/bin/spy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/spy.c b/src/bin/spy.c
index 0903059..f97d0e1 100644
--- a/src/bin/spy.c
+++ b/src/bin/spy.c
@@ -70,7 +70,7 @@ int spy_addwatcher(struct rule *foundrule)
70 return(-1); 70 return(-1);
71 } 71 }
72 72
73 EINA_LOG_DOM_DBG(einadom_spy, "Found %d results for %s", p.we_wordc, foundrule->filename); 73 EINA_LOG_DOM_DBG(einadom_spy, "Found %zu results for %s", p.we_wordc, foundrule->filename);
74 74
75 // We now have a list of files (or a unique file) and we want to add them 75 // We now have a list of files (or a unique file) and we want to add them
76 // To our file list 76 // To our file list
@@ -156,7 +156,7 @@ int spy_event(void *data, Ecore_File_Monitor *em, Ecore_File_Event event, const
156 } 156 }
157 log->filesize = filesize; 157 log->filesize = filesize;
158 158
159 EINA_LOG_DOM_DBG(einadom_spy, "Event on %s - %d !", path, log->cursor); 159 EINA_LOG_DOM_DBG(einadom_spy, "Event on %s !", path);
160 160
161 // We must take attention to the fact that the file might 161 // We must take attention to the fact that the file might
162 // Have been truncated 162 // Have been truncated
@@ -348,7 +348,6 @@ int spy_extract_new_lines(char *filename, fpos_t pos_cur, fpos_t *pos_new, char
348 if( ret != 1 ) 348 if( ret != 1 )
349 { 349 {
350 fgetpos(fp, pos_new); 350 fgetpos(fp, pos_new);
351 EINA_LOG_DOM_DBG(einadom_spy, "Break! new_pos = %d", *pos_new);
352 break; 351 break;
353 } 352 }
354 else 353 else