mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
wrong format string (patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7515 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3bee80c807
commit
e859160579
@ -226,7 +226,7 @@ int rslog(unsigned int lvl, int zone, const std::string &msg)
|
||||
std::string timestr = ctime(&t);
|
||||
std::string timestr2 = timestr.substr(0,timestr.length()-1);
|
||||
/* remove the endl */
|
||||
fprintf(ofd, "(%s Z: %d, lvl:%d): %s \n",
|
||||
fprintf(ofd, "(%s Z: %d, lvl:%u): %s \n",
|
||||
timestr2.c_str(), zone, lvl, msg.c_str());
|
||||
fflush(ofd);
|
||||
lineCount++;
|
||||
|
Loading…
Reference in New Issue
Block a user