- Fix some bugs introduced by recent commits.
This commit is contained in:
+2
-2
@@ -759,11 +759,11 @@ static PFILTER_TOKEN_NAME WinDivertTokenLookup(
|
||||
{
|
||||
mid = (lo + hi) / 2;
|
||||
cmp = strcmp(token_names[mid].name, name);
|
||||
if (cmp > 0)
|
||||
if (cmp < 0)
|
||||
{
|
||||
lo = mid+1;
|
||||
}
|
||||
else if (cmp < 0)
|
||||
else if (cmp > 0)
|
||||
{
|
||||
hi = mid-1;
|
||||
}
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ CPU=$(_BUILDARCH)
|
||||
BITS=64
|
||||
!ENDIF
|
||||
|
||||
TARGETNAME=WinDivert
|
||||
TARGETNAME=WinDivert$(BITS)
|
||||
TARGETTYPE=DRIVER
|
||||
TARGETPATH=..\install\WDDK
|
||||
TARGETLIBS=\
|
||||
|
||||
Reference in New Issue
Block a user