Browse Source

fix source argument is the same as destination

wangyu 4 years ago
parent
commit
b98a467eed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common.cpp

+ 1 - 1
common.cpp

@@ -1180,7 +1180,7 @@ vector<string> parse_conf_line(const string& s0)
 	int i=int(s.length())-1;
 	int j;
 	vector<string>res;
-	strcpy(buf,(char *)s.c_str());
+	//strcpy(buf,(char *)s.c_str());
 	while(i>=0)
 	{
 		if(buf[i]==' ' || buf[i]== '\t')