mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 18:24:58 +00:00
Fix error when downloading subscription
This commit is contained in:
2 files changed
+43
-31
No files matched your search
@@ -1003,7 +1003,7 @@ std::string surgeConfToClash(RESPONSE_CALLBACK_ARGS)
|
||||
name = x.first;
|
||||
content = x.second;
|
||||
dummy_str_array = split(content, ",");
|
||||
if(!dummy_str_array.size())
|
||||
if(dummy_str_array.empty())
|
||||
continue;
|
||||
type = dummy_str_array[0];
|
||||
if(!(type == "select" || type == "url-test" || type == "fallback" || type == "load-balance")) //remove unsupported types
|
||||
|
||||
Reference in new issue
Block a user