Skip to content

Commit

Permalink
Fix hysteria2.substr
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhuang committed Dec 7, 2023
1 parent 4416900 commit facae2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/subparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ void explodeStdHysteria2(std::string hysteria2, Proxy &node)
pos = hysteria2.rfind("?");
if(pos != hysteria2.npos)
{
addition = link.hysteria2(pos + 1);
addition = hysteria2.substr(pos + 1);
hysteria2.erase(pos);
}

Expand Down

0 comments on commit facae2c

Please sign in to comment.