Ver Fonte

#IQRV #comment 调整打印错误

80374374 há 1 ano atrás
pai
commit
943a4c0c3a
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      Module/mod_ResourceWatcher/ResourceWatcherFSM.cpp

+ 2 - 1
Module/mod_ResourceWatcher/ResourceWatcherFSM.cpp

@@ -2016,7 +2016,8 @@ void ResourceWatcherFSM::DetectAutoStartFileAndWarn()
                 toolkit_array_free2(arr);
             }
         }
-        LogWarn(Severity_Low, Error_Debug, LOG_INFO_AUTOSTART_FILESTATUS, CSimpleStringA::Format("{\"subject\":\"autostart_file\",\"username\":\"%s\",\"user\":\"%d\",\"public\":\"%s\"}"
+        LogWarn(Severity_Low, Error_Debug, LOG_INFO_AUTOSTART_FILESTATUS
+            , CSimpleStringA::Format("{\"subject\":\"autostart_file\",\"username\":\"%s\",\"user\":\"%s\",\"public\":\"%s\"}"
                 ,infoBuf, fileContents[0].GetData(), fileContents[1].GetData()));
     }
 }