Author: cgutman Date: Thu Jul 9 19:55:29 2009 New Revision: 41832
URL: http://svn.reactos.org/svn/reactos?rev=41832&view=rev Log: - Don't overwrite previously set flags
Modified: trunk/reactos/dll/win32/msafd/misc/sndrcv.c
Modified: trunk/reactos/dll/win32/msafd/misc/sndrcv.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msafd/misc/sndrcv... ============================================================================== --- trunk/reactos/dll/win32/msafd/misc/sndrcv.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msafd/misc/sndrcv.c [iso-8859-1] Thu Jul 9 19:55:29 2009 @@ -166,7 +166,7 @@ /* Using Overlapped Structure and a Completition Routine, so use an APC */ APCFunction = NULL; // should be a private io completition function inside us APCContext = lpCompletionRoutine; - RecvInfo.AfdFlags = AFD_SKIP_FIO; + RecvInfo.AfdFlags |= AFD_SKIP_FIO; }
IOSB = (PIO_STATUS_BLOCK)&lpOverlapped->Internal; @@ -318,7 +318,7 @@ /* Using Overlapped Structure and a Completition Routine, so use an APC */ APCFunction = NULL; // should be a private io completition function inside us APCContext = lpCompletionRoutine; - RecvInfo.AfdFlags = AFD_SKIP_FIO; + RecvInfo.AfdFlags |= AFD_SKIP_FIO; }
IOSB = (PIO_STATUS_BLOCK)&lpOverlapped->Internal; @@ -445,7 +445,7 @@ /* Using Overlapped Structure and a Completition Routine, so use an APC */ APCFunction = NULL; // should be a private io completition function inside us APCContext = lpCompletionRoutine; - SendInfo.AfdFlags = AFD_SKIP_FIO; + SendInfo.AfdFlags |= AFD_SKIP_FIO; }
IOSB = (PIO_STATUS_BLOCK)&lpOverlapped->Internal; @@ -577,7 +577,7 @@ /* Using Overlapped Structure and a Completition Routine, so use an APC */ APCFunction = NULL; // should be a private io completition function inside us APCContext = lpCompletionRoutine; - SendInfo.AfdFlags = AFD_SKIP_FIO; + SendInfo.AfdFlags |= AFD_SKIP_FIO; }
IOSB = (PIO_STATUS_BLOCK)&lpOverlapped->Internal;