Update of /cvsroot/com0com/com0com/sys
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv701
Modified Files:
adddev.c
Log Message:
Strict usage fixed port numbers
Index: adddev.c
===================================================================
RCS file: /cvsroot/com0com/com0com/sys/adddev.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** adddev.c 3 Nov 2006 13:13:26 -0000 1.22
--- adddev.c 23 Nov 2006 11:10:10 -0000 1.23
***************
*** 20,23 ****
--- 20,26 ----
*
* $Log$
+ * Revision 1.23 2006/11/23 11:10:10 vfrolov
+ * Strict usage fixed port numbers
+ *
* Revision 1.22 2006/11/03 13:13:26 vfrolov
* CopyStrW() now gets size in characters (not in bytes)
***************
*** 633,637 ****
}
! num = AllocPortNum(pDrvObj, numPref);
if (num != numPref) {
--- 636,643 ----
}
! if (numPref == (ULONG)-1)
! num = AllocPortNum(pDrvObj, numPref);
! else
! num = numPref;
if (num != numPref) {
|