Skip to content

Commit

Permalink
Merge pull request #1929 from meganz/hotfix/fix-compilation-with-pcre
Browse files Browse the repository at this point in the history
fix compilation with USE_PCRE
  • Loading branch information
polmr authored Mar 26, 2020
2 parents f579ed8 + de4ff32 commit 0984c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/megaapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0984c49

Please sign in to comment.