diff src/dupe.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 477f48ba28d8
line wrap: on
line diff
--- a/src/dupe.c	Fri May 16 12:08:51 2008 +0000
+++ b/src/dupe.c	Fri May 16 12:16:49 2008 +0000
@@ -513,7 +513,7 @@
 		else
 			{
 			rank = 1;
-			printf("NULL group in item!\n");
+			log_printf("NULL group in item!\n");
 			}
 		}
 	else
@@ -928,7 +928,7 @@
 {
 	GList *work;
 
-	printf("+ %f %s\n", di->group_rank, di->fd->name);
+	log_printf("+ %f %s\n", di->group_rank, di->fd->name);
 
 	work = di->group;
 	while (work)
@@ -936,10 +936,10 @@
 		DupeMatch *dm = work->data;
 		work = work->next;
 
-		printf("  %f %s\n", dm->rank, dm->di->fd->name);
+		log_printf("  %f %s\n", dm->rank, dm->di->fd->name);
 		}
 
-	printf("\n");
+	log_printf("\n");
 }
 
 static void dupe_match_print_list(GList *list)