Changeset 6178


Ignore:
Timestamp:
Jul 5, 2001, 9:26:18 PM (24 years ago)
Author:
achimha
Message:

don't drink and code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/ws2_32/socket.cpp

    r6155 r6178  
    108108    char tmpbuf[300];
    109109    strcpy(tmpbuf, "");
    110     if (lEvent | FD_READ)
     110    if (lEvent & FD_READ)
    111111        strcat(tmpbuf, " FD_READ");
    112     if (lEvent | FD_WRITE)
     112    if (lEvent & FD_WRITE)
    113113        strcat(tmpbuf, " FD_WRITE");
    114     if (lEvent | FD_OOB)
     114    if (lEvent & FD_OOB)
    115115        strcat(tmpbuf, " FD_OOB");   
    116     if (lEvent | FD_ACCEPT)
     116    if (lEvent & FD_ACCEPT)
    117117        strcat(tmpbuf, " FD_ACCEPT");
    118     if (lEvent | FD_CONNECT)
     118    if (lEvent & FD_CONNECT)
    119119        strcat(tmpbuf, " FD_CONNECT");
    120     if (lEvent | FD_CLOSE)
     120    if (lEvent & FD_CLOSE)
    121121        strcat(tmpbuf, " FD_CLOSE");
    122     if (lEvent | FD_QOS)
     122    if (lEvent & FD_QOS)
    123123        strcat(tmpbuf, " FD_QOS");
    124     if (lEvent | FD_GROUP_QOS)
     124    if (lEvent & FD_GROUP_QOS)
    125125        strcat(tmpbuf, " FD_GROUP_QOS");
    126     if (lEvent | FD_ROUTING_INTERFACE_CHANGE)
     126    if (lEvent & FD_ROUTING_INTERFACE_CHANGE)
    127127        strcat(tmpbuf, " FD_ROUTING_INTERFACE_CHANGE");
    128     if (lEvent | FD_ADDRESS_LIST_CHANGE)
     128    if (lEvent & FD_ADDRESS_LIST_CHANGE)
    129129        strcat(tmpbuf, " FD_ADDRESS_LIST_CHANGE");
    130130    dprintf(("event bits:%s", tmpbuf));
Note: See TracChangeset for help on using the changeset viewer.