mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:52:54 +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"
|
#include "net.h"
|
||||||
|
|
||||||
#define COUNT_OF(a) (sizeof(a) / sizeof(a[0]))
|
|
||||||
|
|
||||||
static
|
static
|
||||||
DWORD
|
DWORD
|
||||||
EnumerateConnections(LPCWSTR Local)
|
EnumerateConnections(LPCWSTR Local)
|
||||||
|
@ -133,7 +131,7 @@ cmdUse(
|
||||||
BOOL Persist = FALSE;
|
BOOL Persist = FALSE;
|
||||||
NETRESOURCE lpNet;
|
NETRESOURCE lpNet;
|
||||||
WCHAR Access[256];
|
WCHAR Access[256];
|
||||||
DWORD OutFlags = 0, Size = COUNT_OF(Access);
|
DWORD OutFlags = 0, Size = ARRAYSIZE(Access);
|
||||||
|
|
||||||
Len = wcslen(argv[3]);
|
Len = wcslen(argv[3]);
|
||||||
if (Len < 4)
|
if (Len < 4)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue