浏览代码

fix source argument is the same as destination

wangyu 4 年之前
父节点
当前提交
b98a467eed
共有 1 个文件被更改,包括 1 次插入1 次删除
  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')