Ignore:
Timestamp:
Nov 26, 1999, 10:46:36 PM (26 years ago)
Author:
phaller
Message:

Fix: debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wsock32/new/wsock32.cpp

    r1841 r1851  
    1 /* $Id: wsock32.cpp,v 1.2 1999-11-25 23:02:30 phaller Exp $ */
     1/* $Id: wsock32.cpp,v 1.3 1999-11-26 21:46:36 phaller Exp $ */
    22
    33/*
     
    13401340              long,lEvent)
    13411341{
    1342   return (WSAAsyncSelect(s,
    1343                          hWnd,
    1344                          wMsg,
    1345                          lEvent));
    1346 }
     1342  int rc;
     1343  int iError;
     1344 
     1345  rc = WSAAsyncSelect(s,
     1346                      hWnd,
     1347                      wMsg,
     1348                      lEvent);
     1349
     1350  iError = WSAGetLastError();
     1351  dprintf(("res=%d, err=%d\n",
     1352           rc,
     1353           iError));
     1354  return (rc);
     1355}
Note: See TracChangeset for help on using the changeset viewer.