X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Flog.c;h=9c7c22826945d21975a55b78ccd6b0a05115c06b;hb=e2c2e5e8d8216974b367f983f4fd5b1aa94eb54b;hp=63136987f2e88e61ad9f84424a9d049d609a37ef;hpb=2f05025d37446c2b81801a00e6786ee891d7e688;p=swftools.git diff --git a/lib/log.c b/lib/log.c index 6313698..9c7c228 100644 --- a/lib/log.c +++ b/lib/log.c @@ -6,7 +6,19 @@ Copyright (c) 2001 Matthias Kramm - This file is distributed under the GPL, see file COPYING for details */ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef __NT__ #include "stdafx.h" @@ -244,7 +256,7 @@ static inline void log(char* logString) free (logBuffer); } -void logf(const char* format, ...) +void msg(const char* format, ...) { char buf[1024]; va_list arglist;