Changeset 52 in cheroxy


Ignore:
Timestamp:
12/03/12 13:14:08 (11 years ago)
Author:
cheese
Message:

#1 cerr 가끔 crash 나서 수정

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main.cpp

    r51 r52  
    3939    int         aResult = 0;
    4040    const short aPort   = 8080;
    41     const int   aThreadPoolCount = 30;
     41    const int   aThreadPoolCount = 50;
    4242
    4343    CRXSocket   aProxySocket;
     
    118118        if (aResult < 0)
    119119        {
    120             cerr << aProxySocket.GetErrorMessage () << endl;
     120            cout << aProxySocket.GetErrorMessage () << endl;
    121121            aResult = -1;
    122122            break;
     
    126126        if (aProxy == NULL)
    127127        {
    128             cerr << "Failed to get proxy." << endl;
     128            cout << "Failed to get proxy." << endl;
    129129            aResult = -1;
    130130            break;
     
    143143        if (aResult < 0)
    144144        {
    145             cerr << aProxy->GetErrorMessage () << endl;
     145            cout << aProxy->GetErrorMessage () << endl;
    146146        }
    147147
Note: See TracChangeset for help on using the changeset viewer.