Changeset 1766


Ignore:
Timestamp:
Jan 17, 2005, 3:13:50 AM (21 years ago)
Author:
bird
Message:

Fixed AllocFHEx success check in the interhit part. Thanks to Froloff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/sys/filehandles.c

    • Property cvs2svn:cvs-rev changed from 1.17 to 1.18
    r1765 r1766  
    197197                    for (i = 0; i < c; i++)
    198198                    {
    199                         if (TCPNAMEG44(AllocFHEx)(iFH, u.pSockets->aHandles[i].usSocket, u.pSockets->aHandles[i].fFlags, 0, NULL))
     199                        if (!TCPNAMEG44(AllocFHEx)(iFH, u.pSockets->aHandles[i].usSocket, u.pSockets->aHandles[i].fFlags, 0, NULL))
    200200                        {
    201201                            LIBC_ASSERTM_FAILED("Failed to allocated inherited socket (4.4) handle! iFH=%d iSocket=%d\n",
     
    211211                    for (i = 0; i < c; i++)
    212212                    {
    213                         if (TCPNAMEG43(AllocFHEx)(iFH, u.pSockets->aHandles[i].usSocket, u.pSockets->aHandles[i].fFlags, 0, NULL))
     213                        if (!TCPNAMEG43(AllocFHEx)(iFH, u.pSockets->aHandles[i].usSocket, u.pSockets->aHandles[i].fFlags, 0, NULL))
    214214                        {
    215215                            LIBC_ASSERTM_FAILED("Failed to allocated inherited socket (4.3) handle! iFH=%d iSocket=%d\n",
Note: See TracChangeset for help on using the changeset viewer.