+//-----------------------------------------------------------------------------
+// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// UI utilities
+//-----------------------------------------------------------------------------
+
#include <stdarg.h>
#include <stdio.h>
#include <time.h>
va_end(argptr);
printf("\n");
if (logging && logfile) {
-#if 0
- char zeit[25];
- time_t jetzt_t;
- struct tm *jetzt;
-
- jetzt_t = time(NULL);
- jetzt = localtime(&jetzt_t);
- strftime(zeit, 25, "%b %e %T", jetzt);
-
- fprintf(logfile,"%s ", zeit);
-#endif
vfprintf(logfile, fmt, argptr2);
fprintf(logfile,"\n");
fflush(logfile);