qmgr: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
60932f529d
commit
8c430a8286
|
@ -518,7 +518,7 @@ BOOL processFile(BackgroundCopyFileImpl *file, BackgroundCopyJobImpl *job)
|
||||||
uc.lpszPassword = NULL;
|
uc.lpszPassword = NULL;
|
||||||
uc.dwPasswordLength = 0;
|
uc.dwPasswordLength = 0;
|
||||||
uc.lpszHostName = host;
|
uc.lpszHostName = host;
|
||||||
uc.dwHostNameLength = sizeof(host)/sizeof(host[0]);
|
uc.dwHostNameLength = ARRAY_SIZE(host);
|
||||||
uc.nPort = 0;
|
uc.nPort = 0;
|
||||||
uc.lpszUrlPath = NULL;
|
uc.lpszUrlPath = NULL;
|
||||||
uc.dwUrlPathLength = ~0u;
|
uc.dwUrlPathLength = ~0u;
|
||||||
|
|
Loading…
Reference in New Issue