mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
fix source argument is the same as destination
This commit is contained in:
parent
25d3323427
commit
b98a467eed
@ -1180,7 +1180,7 @@ vector<string> parse_conf_line(const string& s0)
|
|||||||
int i=int(s.length())-1;
|
int i=int(s.length())-1;
|
||||||
int j;
|
int j;
|
||||||
vector<string>res;
|
vector<string>res;
|
||||||
strcpy(buf,(char *)s.c_str());
|
//strcpy(buf,(char *)s.c_str());
|
||||||
while(i>=0)
|
while(i>=0)
|
||||||
{
|
{
|
||||||
if(buf[i]==' ' || buf[i]== '\t')
|
if(buf[i]==' ' || buf[i]== '\t')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user