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:
csoler 2014-09-09 18:14:10 +00:00
parent 3bee80c807
commit e859160579

View File

@ -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++;