https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9ce8769f4e0abea7ce546…
commit 9ce8769f4e0abea7ce5465337da29ee66afc3529
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Feb 2 13:30:06 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sat Feb 2 13:30:06 2019 +0100
[QMGR] Sync with Wine Staging 4.0. CORE-15682
---
dll/win32/qmgr/file.c | 2 +-
media/doc/README.WINE | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/qmgr/file.c b/dll/win32/qmgr/file.c
index 3673ede142..dbdfc97bcc 100644
--- a/dll/win32/qmgr/file.c
+++ b/dll/win32/qmgr/file.c
@@ -518,7 +518,7 @@ BOOL processFile(BackgroundCopyFileImpl *file, BackgroundCopyJobImpl
*job)
uc.lpszPassword = NULL;
uc.dwPasswordLength = 0;
uc.lpszHostName = host;
- uc.dwHostNameLength = sizeof(host)/sizeof(host[0]);
+ uc.dwHostNameLength = ARRAY_SIZE(host);
uc.nPort = 0;
uc.lpszUrlPath = NULL;
uc.dwUrlPathLength = ~0u;
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 6fb3564947..7e52949524 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -153,7 +153,7 @@ reactos/dll/win32/powrprof # Forked at Wine-1.0rc5
reactos/dll/win32/printui # Synced to WineStaging-3.3
reactos/dll/win32/propsys # Synced to WineStaging-4.0
reactos/dll/win32/pstorec # Synced to WineStaging-3.3
-reactos/dll/win32/qmgr # Synced to WineStaging-3.3
+reactos/dll/win32/qmgr # Synced to WineStaging-4.0
reactos/dll/win32/qmgrprxy # Synced to WineStaging-2.9
reactos/dll/win32/query # Synced to WineStaging-3.3
reactos/dll/win32/rasapi32 # Synced to WineStaging-3.3