mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 01:33:04 +00:00
Bug fixes
Fix when parsing some subscription, the same node will appear multiple times. Fix incorrect plugin in exporting SSD subscription.
This commit is contained in:
2 files changed
+3
No files matched your search
@@ -1522,6 +1522,7 @@ void explodeSub(std::string sub, bool sslibev, bool ssrlibev, std::string custom
|
||||
char delimiter = count(sub.begin(), sub.end(), '\n') < 1 ? count(sub.begin(), sub.end(), '\r') < 1 ? ' ' : '\r' : '\n';
|
||||
while(getline(strstream, strLink, delimiter))
|
||||
{
|
||||
node.linkType = -1;
|
||||
explode(strLink, sslibev, ssrlibev, custom_port, local_port, node);
|
||||
if(strLink.size() == 0 || node.linkType == -1)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user