浏览代码

V1.4.10
1、修改了ftp的文件,打印出原始的字符串值

Apple 15 小时之前
父节点
当前提交
a0df85fee7
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      module/CurlFtp/CurlFtp.cpp

+ 2 - 0
module/CurlFtp/CurlFtp.cpp

@@ -3,6 +3,7 @@
 #include <regex>
 #include <regex>
 #include <iosfwd>
 #include <iosfwd>
 #include <fstream>
 #include <fstream>
+#include <spdlog.h>
 
 
 #include "stdlog.h"
 #include "stdlog.h"
 
 
@@ -366,6 +367,7 @@ const std::regex parseReg4(R"(^-.*$)");
  */
  */
 static bool parseFileInfo(const std::string& strSrc, std::vector<CF_FileInfo>& fileInfo)
 static bool parseFileInfo(const std::string& strSrc, std::vector<CF_FileInfo>& fileInfo)
 {
 {
+    SPDLOG_INFO("SRC FILE INFO:\n{}", strSrc);
 #if defined(_WIN32)
 #if defined(_WIN32)
     // auto str1 = GBToUTF8(strSrc.c_str());
     // auto str1 = GBToUTF8(strSrc.c_str());
     std::string str2 = strSrc;
     std::string str2 = strSrc;