From de4ff325da7734655c9edd5f37b412520d88e3b2 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Thu, 19 Mar 2020 18:03:59 +0100 Subject: [PATCH] fix compilation with USE_PCRE --- src/megaapi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/megaapi.cpp b/src/megaapi.cpp index 26143056d3..9528a90650 100644 --- a/src/megaapi.cpp +++ b/src/megaapi.cpp @@ -3105,12 +3105,12 @@ void MegaApi::resumeSync(const char *localFolder, MegaNode *megaFolder, long lon #ifdef USE_PCRE void MegaApi::syncFolder(const char *localFolder, MegaNode *megaFolder, MegaRegExp *regExp, MegaRequestListener *listener) { - pImpl->syncFolder(localFolder, megaFolder, regExp, listener); + pImpl->syncFolder(localFolder, megaFolder, regExp, 0, listener); } void MegaApi::resumeSync(const char *localFolder, MegaNode *megaFolder, long long localfp, MegaRegExp *regExp, MegaRequestListener *listener) { - pImpl->resumeSync(localFolder, localfp, megaFolder, regExp, listener); + pImpl->syncFolder(localFolder, megaFolder, regExp, localfp, listener); } #endif