Ignore:
Timestamp:
Dec 2, 1999, 5:12:24 PM (26 years ago)
Author:
achimha
Message:

async gethostbyname fixes

File:
1 edited

Legend:

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

    r1940 r1943  
    1 /* $Id: wsock32.cpp,v 1.9 1999-12-02 15:22:05 achimha Exp $ */
     1/* $Id: wsock32.cpp,v 1.10 1999-12-02 16:12:24 achimha Exp $ */
    22
    33/*
     
    12721272  HWND  hwndOS2 = Win32ToOS2Handle(hWnd);
    12731273  ULONG ulNewID;
    1274   char *OS2Hostent = (char*)malloc(MAXGETHOSTSTRUCT);
    12751274
    12761275  if (hwndRelay == NULL) // already initialized ?
     
    12851284  else
    12861285    // add entry to list, we need to store both our temp buffer and the apps buffer
    1287     ulNewID = RelayAlloc(hWnd, wMsg, ASYNCREQUEST_GETHOSTBYNAME, buf, OS2Hostent);
     1286    ulNewID = RelayAlloc(hWnd, wMsg, ASYNCREQUEST_GETHOSTBYNAME, buf);
    12881287
    12891288  // call pmwsock function, will fill our temp buffer
     
    12911290                             ulNewID,
    12921291                             name,
    1293                              OS2Hostent,
     1292                             buf,
    12941293                             buflen);
    12951294
Note: See TracChangeset for help on using the changeset viewer.