diff --git a/dlls/qmgr/job.c b/dlls/qmgr/job.c index 9d8d928d707..c4d6eec61b6 100644 --- a/dlls/qmgr/job.c +++ b/dlls/qmgr/job.c @@ -82,7 +82,7 @@ static HRESULT WINAPI BITS_IBackgroundCopyJob_AddFileSet( ULONG i; for (i = 0; i < cFileCount; ++i) { - HRESULT hr = IBackgroundCopyJob_AddFile(iface, pFileSet[i].RemoteName, + HRESULT hr = IBackgroundCopyJob2_AddFile(iface, pFileSet[i].RemoteName, pFileSet[i].LocalName); if (FAILED(hr)) return hr; diff --git a/dlls/qmgr/tests/enum_jobs.c b/dlls/qmgr/tests/enum_jobs.c index 5c52480b72c..e388087c8b9 100644 --- a/dlls/qmgr/tests/enum_jobs.c +++ b/dlls/qmgr/tests/enum_jobs.c @@ -218,7 +218,7 @@ static void test_Next_walkList_2(void) { ok(jobs[i] != NULL, "Next returned NULL\n"); if (jobs[i]) - IBackgroundCopyFile_Release(jobs[i]); + IBackgroundCopyJob_Release(jobs[i]); } HeapFree(GetProcessHeap(), 0, jobs);