diff src/filefilter.c @ 673:fbebf5cf4a55

Do not use printf() directly but use new wrapper function log_printf() instead.
author zas_
date Fri, 16 May 2008 12:16:49 +0000
parents 8268cbe682f1
children a7289f9e8d29
line wrap: on
line diff
--- a/src/filefilter.c	Fri May 16 12:08:51 2008 +0000
+++ b/src/filefilter.c	Fri May 16 12:16:49 2008 +0000
@@ -307,7 +307,7 @@
 				}
 			else
 				{
-				printf("WARNING: invalid file class %d\n", fe->file_class);
+				log_printf("WARNING: invalid file class %d\n", fe->file_class);
 				}
 			}
 		}
@@ -345,7 +345,7 @@
 
 	if (file_class < 0 || file_class >= FILE_FORMAT_CLASSES)
 		{
-		printf("WARNING: invalid file class %d\n", file_class);
+		log_printf("WARNING: invalid file class %d\n", file_class);
 		return FALSE;
 		}