-/* $Id$ */
-
/* file_appender - a dumb log appender which simply prints to stdout */
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2007-2011. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
static void append_file(xbt_log_appender_t this_appender, char *str)
{
- fprintf((FILE *) (this_appender->data), "%s", str);
+ fputs(str, (FILE *) (this_appender->data));
}
static void free_(xbt_log_appender_t this_)