소스 검색

Merge pull request #8195 from mckellyln/hpcc-14896

HPCC-14896 Always fill in destFileOut for getDropZoneInfoByIP()

Reviewed-By: Kevin Wang <kevin.wang@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 년 전
부모
커밋
e2f31b323e
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      esp/services/ws_fs/ws_fsService.cpp

+ 3 - 0
esp/services/ws_fs/ws_fsService.cpp

@@ -2280,6 +2280,9 @@ bool CFileSprayEx::onReplicate(IEspContext &context, IEspReplicate &req, IEspRep
 
 void CFileSprayEx::getDropZoneInfoByIP(const char* ip, const char* destFileIn, StringBuffer& destFileOut, StringBuffer& mask)
 {
+    if (destFileIn && *destFileIn)
+        destFileOut.set(destFileIn);
+
     if (!ip || !*ip)
         return;