loolwsd: removed unnecessary
Change-Id: I5fc310f98764b31fc50f877c28d6076bbb14866f Reviewed-on: https://gerrit.libreoffice.org/23784 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:
parent
aacd162673
commit
ae8ce06162
3 changed files with 4 additions and 4 deletions
|
@ -194,7 +194,7 @@ void AdminRequestHandler::handleWSRequests(HTTPServerRequest& request, HTTPServe
|
|||
{
|
||||
if (std::stoi(tokens[1]))
|
||||
{
|
||||
IoUtil::writeFIFO(LOOLWSD::BrokerWritePipe, firstLine + " \r\n");
|
||||
IoUtil::writeFIFO(LOOLWSD::BrokerWritePipe, firstLine + "\n");
|
||||
}
|
||||
}
|
||||
catch(std::exception& e)
|
||||
|
|
|
@ -92,7 +92,7 @@ namespace
|
|||
std::ostringstream message;
|
||||
message << "rmdoc" << " "
|
||||
<< _pid << " "
|
||||
<< "\r\n";
|
||||
<< "\n";
|
||||
IoUtil::writeFIFO(WriterNotify, message.str());
|
||||
_pid = -1;
|
||||
}
|
||||
|
|
|
@ -697,7 +697,7 @@ private:
|
|||
message << "document" << " "
|
||||
<< Process::id() << " "
|
||||
<< uri.substr(uri.find_last_of("/") + 1) << " "
|
||||
<< "\r\n";
|
||||
<< "\n";
|
||||
IoUtil::writeFIFO(WriterNotify, message.str());
|
||||
|
||||
if (_multiView)
|
||||
|
@ -1146,7 +1146,7 @@ void lokit_main(const std::string& childRoot,
|
|||
std::ostringstream message;
|
||||
message << "rmdoc" << " "
|
||||
<< Process::id() << " "
|
||||
<< "\r\n";
|
||||
<< "\n";
|
||||
IoUtil::writeFIFO(WriterNotify, message.str());
|
||||
close(WriterNotify);
|
||||
|
||||
|
|
Loading…
Reference in a new issue