comparison src/filedata.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 d4a68dfa6819
comparison
equal deleted inserted replaced
672:913eb0ba99a6 673:fbebf5cf4a55
115 115
116 g_free(ret); 116 g_free(ret);
117 ret = g_locale_to_utf8(buf, buflen, NULL, NULL, &error); 117 ret = g_locale_to_utf8(buf, buflen, NULL, NULL, &error);
118 if (error) 118 if (error)
119 { 119 {
120 printf("Error converting locale strftime to UTF-8: %s\n", error->message); 120 log_printf("Error converting locale strftime to UTF-8: %s\n", error->message);
121 g_error_free(error); 121 g_error_free(error);
122 return ""; 122 return "";
123 } 123 }
124 124
125 return ret; 125 return ret;