mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
[NET/USE]
Get rid of COUNT_OF svn path=/trunk/; revision=73448
This commit is contained in:
parent
fb4e02aa90
commit
332071647d
1 changed files with 1 additions and 3 deletions
|
@ -9,8 +9,6 @@
|
|||
|
||||
#include "net.h"
|
||||
|
||||
#define COUNT_OF(a) (sizeof(a) / sizeof(a[0]))
|
||||
|
||||
static
|
||||
DWORD
|
||||
EnumerateConnections(LPCWSTR Local)
|
||||
|
@ -133,7 +131,7 @@ cmdUse(
|
|||
BOOL Persist = FALSE;
|
||||
NETRESOURCE lpNet;
|
||||
WCHAR Access[256];
|
||||
DWORD OutFlags = 0, Size = COUNT_OF(Access);
|
||||
DWORD OutFlags = 0, Size = ARRAYSIZE(Access);
|
||||
|
||||
Len = wcslen(argv[3]);
|
||||
if (Len < 4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue