This commit is contained in:
Adam Ierymenko 2017-07-19 15:06:23 -07:00
parent 8c6b833fb3
commit 66feaeb519
2 changed files with 2 additions and 1 deletions

View file

@ -120,6 +120,7 @@ bool JSONDB::writeRaw(const std::string &n,const std::string &obj)
#ifndef __WINDOWS__
if (obj.length() > 0) {
Mutex::Lock _l(_rawLock);
//fprintf(stderr,"%s\n",obj.c_str());
if ((long)write(_rawOutput,obj.data(),obj.length()) == (long)obj.length()) {
if (write(_rawOutput,"\n",1) == 1)
return true;