git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed to typedefs
[swftools.git]
/
lib
/
log.c
diff --git
a/lib/log.c
b/lib/log.c
index
6c8cb5d
..
151b9ea
100644
(file)
--- a/
lib/log.c
+++ b/
lib/log.c
@@
-74,10
+74,10
@@
void setFileLogging(char*filename, int level, char append)
}
}
/* deprecated */
}
}
/* deprecated */
-void initLog(char* filename, int fileloglevel, char* s00, char* s01, int s02, int screenlevel)
+void initLog(char* filename, int filelevel, char* s00, char* s01, int s02, int screenlevel)
{
{
- setFileLogging(filename, fileloglevel, 0);
- setConsoleLogging(screenloglevel);
+ setFileLogging(filename, filelevel, 0);
+ setConsoleLogging(screenlevel);
}
void exitLog()
}
void exitLog()
@@
-175,7
+175,7
@@
static inline void log(const char* logString)
{
if (logFile != NULL)
{
{
if (logFile != NULL)
{
- fprintf(logFile, "%s\n", logBuffer);
+ fprintf(logFile, "%s\r\n", logBuffer);
fflush(logFile);
}
}
fflush(logFile);
}
}