Ignore:
Timestamp:
Oct 19, 2011 1:08:14 PM (13 years ago)
Author:
bennylp
Message:

Renamed enum names to comply with the spec in ticket (re #1216)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_core.c

    r3829 r3830  
    13061306 
    13071307        /* Terminate all calls. */ 
    1308         if ((flags & PJSUA_DESTROY_NO_NETWORK) == 0) { 
     1308        if ((flags & PJSUA_DESTROY_NO_TX_MSG) == 0) { 
    13091309            pjsua_call_hangup_all(); 
    13101310        } 
     
    13361336        } 
    13371337         
    1338         /* No need to wait if we didn't send anything */ 
    1339         if (flags & PJSUA_DESTROY_NO_NETWORK) { 
     1338        /* No waiting if RX is disabled */ 
     1339        if (flags & PJSUA_DESTROY_NO_RX_MSG) { 
    13401340            max_wait = 0; 
    13411341        } 
     
    13701370                continue; 
    13711371 
    1372             if (pjsua_var.acc[i].regc && (flags & PJSUA_DESTROY_NO_NETWORK)==0) 
     1372            if (pjsua_var.acc[i].regc && (flags & PJSUA_DESTROY_NO_TX_MSG)==0) 
    13731373            { 
    13741374                pjsua_acc_set_registration(i, PJ_FALSE); 
     
    13961396        } 
    13971397         
    1398         /* No need to wait if we didn't send anything */ 
    1399         if (flags & PJSUA_DESTROY_NO_NETWORK) { 
     1398        /* No waiting if RX is disabled */ 
     1399        if (flags & PJSUA_DESTROY_NO_RX_MSG) { 
    14001400            max_wait = 0; 
    14011401        } 
     
    14211421         * transports shutdown to complete:  
    14221422         */ 
    1423         if (i < 20 && (flags & PJSUA_DESTROY_NO_NETWORK) == 0) { 
     1423        if (i < 20 && (flags & PJSUA_DESTROY_NO_RX_MSG) == 0) { 
    14241424            busy_sleep(1000 - i*50); 
    14251425        } 
Note: See TracChangeset for help on using the changeset viewer.