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:
a8450dc
)
renamed log() method to remove compiler warning
author
kramm
<kramm>
Sun, 7 Jan 2007 20:31:28 +0000
(20:31 +0000)
committer
kramm
<kramm>
Sun, 7 Jan 2007 20:31:28 +0000
(20:31 +0000)
lib/log.c
patch
|
blob
|
history
diff --git
a/lib/log.c
b/lib/log.c
index
151b9ea
..
05ac58f
100644
(file)
--- a/
lib/log.c
+++ b/
lib/log.c
@@
-96,7
+96,7
@@
static char * logimportance[]= {"Fatal","Error","Warning","Notice","Verbose","De
static int loglevels=7;
static char * logimportance2[]= {" ","FATAL ","ERROR ","WARNING","NOTICE ","VERBOSE","DEBUG ", "TRACE "};
static int loglevels=7;
static char * logimportance2[]= {" ","FATAL ","ERROR ","WARNING","NOTICE ","VERBOSE","DEBUG ", "TRACE "};
-static inline void log(const char* logString)
+static inline void log_str(const char* logString)
{
char timebuffer[32];
char* logBuffer;
{
char timebuffer[32];
char* logBuffer;
@@
-191,7
+191,7
@@
void msg_str(const char* buf)
if(x && (x-z)>maxloglevel)
return;
}
if(x && (x-z)>maxloglevel)
return;
}
- log(buf);
+ log_str(buf);
}
void msg(const char* format, ...)
{
}
void msg(const char* format, ...)
{
@@
-210,6
+210,6
@@
void msg(const char* format, ...)
vsprintf(buf, format, arglist);
va_end(arglist);
strcat(buf, "\n");
vsprintf(buf, format, arglist);
va_end(arglist);
strcat(buf, "\n");
- log(buf);
+ log_str(buf);
}
}