Skip to content

Commit cb238aa

Browse files
committed
Fix unexpected "surge_proxy_list" for update
1 parent 3f2b01a commit cb238aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

YtFlowApp/CoreSubscription.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ namespace winrt::YtFlowApp::implementation
101101
{
102102
throw std::invalid_argument("Empty input for subscription format");
103103
}
104-
if (strcmp(input, "sip008") == 0)
104+
if (strcmp(input, SIP008_LITERAL) == 0)
105105
{
106106
return SIP008_LITERAL;
107107
}
108-
if (strcmp(input, "surge_proxy_list") == 0)
108+
if (strcmp(input, SURGE_PROXY_LIST_LITERAL) == 0)
109109
{
110110
return SURGE_PROXY_LIST_LITERAL;
111111
}

0 commit comments

Comments
 (0)