Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
results need newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
erikfrey committed Mar 18, 2013
1 parent 70f93b2 commit 6a74def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/handler.cpp
Expand Up @@ -94,7 +94,7 @@ void handler::write_version()
void handler::destroy() void handler::destroy()
{ {
queues_.erase(req_.queue, false); queues_.erase(req_.queue, false);
return end("DELETED"); return end("DELETED\r\n");
} }


void handler::flush() void handler::flush()
Expand All @@ -109,7 +109,7 @@ void handler::flush_all()
{ {
for (queue_map::iterator it = queues_.begin(); it != queues_.end(); ++it) for (queue_map::iterator it = queues_.begin(); it != queues_.end(); ++it)
queues_.erase(it->first, true); queues_.erase(it->first, true);
return end("Flushed all queues."); return end("Flushed all queues.\r\n");
} }


void handler::set() void handler::set()
Expand Down

0 comments on commit 6a74def

Please sign in to comment.