Переглянути джерело

Merge pull request #12845 from ghalliday/issue19831

HPCC-19831 Fix windows compile error (stricmp instead of strcasecmp)

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 6 роки тому
батько
коміт
d157b1cc73
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      esp/services/ws_esdlconfig/ws_esdlconfigservice.cpp

+ 2 - 2
esp/services/ws_esdlconfig/ws_esdlconfigservice.cpp

@@ -202,7 +202,7 @@ void CWsESDLConfigEx::buildServiceMethodsResponse(IEsdlDefinitionInfo* defInfo,
 
         // If a service name is passed in, then only return info
         // for that single service
-        if( isEmptyString(svc) || strcasecmp(svc, serviceName)==0 )
+        if( isEmptyString(svc) || stricmp(svc, serviceName)==0 )
         {
             serviceList.append(serviceName);
             const StringArray* methods = defInfo->queryMethods(serviceName);
@@ -232,7 +232,7 @@ void CWsESDLConfigEx::buildServiceWithMethodsResponse(IEsdlDefinitionInfo* defIn
 
         // If a service name is passed in, then only return info
         // for that single service
-        if( isEmptyString(svc) || strcasecmp(svc, serviceName)==0 )
+        if( isEmptyString(svc) || stricmp(svc, serviceName)==0 )
         {
             Owned<IEspESDLService> esdlservice = createESDLService();
             esdlservice->setName(serviceName);