[Com0com-cvs] hub4com/plugins/linectl filter.cpp,1.2,1.3
The virtual serial port driver for Windows.
Brought to you by:
vfrolov
From: Vyacheslav F. <vf...@us...> - 2008-10-16 09:25:25
|
Update of /cvsroot/com0com/hub4com/plugins/linectl In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18517/plugins/linectl Modified Files: filter.cpp Log Message: Changed return type of ROUTINE_MSG_REPLACE_*() to BOOL Index: filter.cpp =================================================================== RCS file: /cvsroot/com0com/hub4com/plugins/linectl/filter.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** filter.cpp 16 Oct 2008 06:34:27 -0000 1.2 --- filter.cpp 16 Oct 2008 09:24:23 -0000 1.3 *************** *** 20,23 **** --- 20,26 ---- * * $Log$ + * Revision 1.3 2008/10/16 09:24:23 vfrolov + * Changed return type of ROUTINE_MSG_REPLACE_*() to BOOL + * * Revision 1.2 2008/10/16 06:34:27 vfrolov * Fixed typo *************** *** 244,254 **** case HUB_MSG_TYPE_SET_BR: // discard if controlled by this filter ! if (((Filter *)hFilter)->soOutMask & SO_SET_BR) ! pMsgReplaceNone(pOutMsg, HUB_MSG_TYPE_EMPTY); break; case HUB_MSG_TYPE_SET_LC: // discard if controlled by this filter ! if (((Filter *)hFilter)->soOutMask & SO_SET_LC) ! pMsgReplaceNone(pOutMsg, HUB_MSG_TYPE_EMPTY); break; case HUB_MSG_TYPE_RBR_STATUS: { --- 247,261 ---- case HUB_MSG_TYPE_SET_BR: // discard if controlled by this filter ! if (((Filter *)hFilter)->soOutMask & SO_SET_BR) { ! if (!pMsgReplaceNone(pOutMsg, HUB_MSG_TYPE_EMPTY)) ! return FALSE; ! } break; case HUB_MSG_TYPE_SET_LC: // discard if controlled by this filter ! if (((Filter *)hFilter)->soOutMask & SO_SET_LC) { ! if (!pMsgReplaceNone(pOutMsg, HUB_MSG_TYPE_EMPTY)) ! return FALSE; ! } break; case HUB_MSG_TYPE_RBR_STATUS: { |