diff src/cache.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 a3218946bd2d
line wrap: on
line diff
--- a/src/cache.c	Fri May 16 12:08:51 2008 +0000
+++ b/src/cache.c	Fri May 16 12:16:49 2008 +0000
@@ -158,7 +158,7 @@
 
 	if (!ssi)
 		{
-		printf("Unable to save sim cache data: %s\n", cd->path);
+		log_printf("Unable to save sim cache data: %s\n", cd->path);
 		return FALSE;
 		}
 
@@ -606,7 +606,7 @@
 					DEBUG_1("creating sub dir:%s", path);
 					if (!mkdir_utf8(path, mode))
 						{
-						printf("create dir failed: %s\n", path);
+						log_printf("create dir failed: %s\n", path);
 						return FALSE;
 						}
 					}