git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c14e9d
)
logf argument names changed.
author
kramm
<kramm>
Sun, 16 Dec 2001 02:15:24 +0000
(
02:15
+0000)
committer
kramm
<kramm>
Sun, 16 Dec 2001 02:15:24 +0000
(
02:15
+0000)
lib/log.c
patch
|
blob
|
history
diff --git
a/lib/log.c
b/lib/log.c
index
312a6dd
..
1999b17
100644
(file)
--- a/
lib/log.c
+++ b/
lib/log.c
@@
-238,13
+238,13
@@
void log(char* logString)
free (logBuffer);
}
free (logBuffer);
}
-void logf(const char* pszFormat, ...)
+void logf(const char* format, ...)
{
char buf[1024];
va_list arglist;
{
char buf[1024];
va_list arglist;
- va_start(arglist, pszFormat);
+ va_start(arglist, format);
buf[0] = 0;
buf[0] = 0;
- vsprintf(&buf[strlen(buf)], pszFormat, arglist);
+ vsprintf(&buf[strlen(buf)], format, arglist);
va_end(arglist);
strcat(buf, "\n");
log(buf);
va_end(arglist);
strcat(buf, "\n");
log(buf);