[NET/USE]

Get rid of COUNT_OF

svn path=/trunk/; revision=73448
This commit is contained in:
Pierre Schweitzer 2016-12-11 09:15:16 +00:00
parent fb4e02aa90
commit 332071647d

View file

@ -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)