瀏覽代碼

Merge branch 'ST2' into 00UAT

gifur 2 年之前
父節點
當前提交
8add75c78b
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      Module/mod_ResourceWatcher/mod_ResourceWatcher.cpp

+ 6 - 6
Module/mod_ResourceWatcher/mod_ResourceWatcher.cpp

@@ -668,9 +668,9 @@ void ResourceWatcherEntity::InstallThirdPartyProgram(SpReqAnsContext<ResourceWat
         result = Error_NotSupport;
     }
 
-    DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM) ("用户桌面安装:%s. result:%d.", tmpMsg.GetData(), ctx->Ans.result);
+    DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM) ("用户桌面安装:%s. result:%d.", tmpMsg.GetData(), tmpResult);
     LogWarn(Severity_Low, Error_Debug, LOG_RESOURCEWATCHE_INSTALL_THIRDPARTY,
-        CSimpleStringA::Format("用户桌面安装:%s. result:%d.", tmpMsg.GetData(), ctx->Ans.result));
+        CSimpleStringA::Format("用户桌面安装:%s. result:%d.", tmpMsg.GetData(), tmpResult));
 
     ctx->Ans.result = tmpResult;
     ctx->Ans.msg = tmpMsg;
@@ -902,9 +902,9 @@ void ResourceWatcherEntity::InstallSogou(SpReqAnsContext<ResourceWatcherService_
         }
     }
 
-    DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM) ("用户桌面重装搜狗:%s. result:%d.", tmpMsg.GetData(), ctx->Ans.result);
+    DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM) ("用户桌面重装搜狗:%s. result:%d.", tmpMsg.GetData(), tmpResult);
     LogWarn(Severity_Low, Error_Debug, LOG_RESOURCEWATCHE_INSTALL_THIRDPARTY,
-        CSimpleStringA::Format("用户桌面重装搜狗:%s. result:%d.", tmpMsg.GetData(), ctx->Ans.result));
+        CSimpleStringA::Format("用户桌面重装搜狗:%s. result:%d.", tmpMsg.GetData(), tmpResult));
     ctx->Ans.result = tmpResult;
     ctx->Ans.msg = tmpMsg;
     ctx->Answer(result);
@@ -1322,9 +1322,9 @@ void ResourceWatcherEntity::RestartThirdPartyProgram(SpReqAnsContext<ResourceWat
         tmpMsg = CSimpleStringA::Format("接口调用参数错误。");
     }
 
-    DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM) ("用户桌面重启:%s. result:%d.", tmpMsg.GetData(), ctx->Ans.result);
+    DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM) ("用户桌面重启:%s. result:%d.", tmpMsg.GetData(), tmpResult);
     LogWarn(Severity_Low, Error_Debug, LOG_RESOURCEWATCHE_RESTART_THIRDPARTYPROGRAM,
-        CSimpleStringA::Format("用户桌面重启:%s. result:%d.", tmpMsg.GetData(), ctx->Ans.result));
+        CSimpleStringA::Format("用户桌面重启:%s. result:%d.", tmpMsg.GetData(), tmpResult));
     ctx->Ans.result = tmpResult;
     ctx->Ans.msg = tmpMsg;