Changeset 22 in cheroxy


Ignore:
Timestamp:
11/08/12 17:28:32 (11 years ago)
Author:
cheese
Message:

#1 more fix main code and release thread

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/CRXProxy.cpp

    r20 r22  
    4141        PRINT_ERROR << aProxy->GetErrorMessage ();
    4242
     43    delete aProxy;
    4344    return (THREAD_FUNCTION_RETURN)0;
    4445}
  • trunk/src/main.cpp

    r21 r22  
    3131     *----------------------------------------------------------------*/
    3232    aResult = aSocket.CreateServer (aPort);
    33     cout << "Failed to CreateServer." << endl;
    3433    if (aResult < 0)
    3534    {
     35        cout << "Failed to create server." << endl;
    3636        return aResult;
    3737    }
     
    4242        if (aResult < 0)
    4343        {
    44             cout << "Failed to Accept." << endl;
     44            cout << "Failed to accept." << endl;
    4545            break;
    4646        }
     
    4848        if ((aProxy = CRXProxy::GetNewInstance (aResult)) == NULL)
    4949        {
     50            cout << "Failed to get proxy." << endl;
    5051            aResult = -1;
    5152            break;
Note: See TracChangeset for help on using the changeset viewer.