Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:meltwater/served
Browse files Browse the repository at this point in the history
  • Loading branch information
adevress committed Jan 10, 2019
2 parents c0bff45 + 757172e commit ef2167c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/served/multiplexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ multiplexer::handle(const std::string & path, const std::string info /* = "" */,
{
if ( std::get<2>(*it) == path )
{
if(overwrite)
{
it = _handler_candidates.erase(it);
}
else
{
return std::get<1>(*it);
}
if(overwrite)
{
it = _handler_candidates.erase(it);
}
else
{
return std::get<1>(*it);
}
}
else
{
Expand Down

0 comments on commit ef2167c

Please sign in to comment.