You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcmis/0030-coverity-likely-intent...

26 lines
1020 B

From 203f5aec0c7021343adb298dbaf5d9c288ae8f41 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Wed, 2 Mar 2016 07:23:27 +0100
Subject: [PATCH 30/37] coverity: likely intent
---
qa/mockup/mockup-config.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qa/mockup/mockup-config.cxx b/qa/mockup/mockup-config.cxx
index f830fff..f6b84ad 100644
--- a/qa/mockup/mockup-config.cxx
+++ b/qa/mockup/mockup-config.cxx
@@ -331,7 +331,7 @@ int curl_mockup_getRequestsCount( const char* urlBase,
( url.find( urlBaseString ) == 0 );
bool matchParams = matchParamString.empty( ) ||
( params.find( matchParamString ) != string::npos );
- bool matchBodyPart = !matchBody ||
+ bool matchBodyPart = matchBodyStr.empty() ||
( it->m_body.find( matchBodyStr ) != string::npos );
if ( matchBaseUrl && matchParams && matchBodyPart )
--
2.5.0