Ignore:
Timestamp:
Dec 28, 2007 7:00:33 PM (17 years ago)
Author:
bennylp
Message:

Ticket #436: IPv6 support in host resolver caused failure in pjlib initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/os_core_symbian.cpp

    r1601 r1642  
    214214        } 
    215215         
     216#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 
    216217        if (appHostResolver6_ == NULL) { 
    217218            if (Connection()) 
     
    224225                goto on_error; 
    225226        } 
     227#endif 
     228         
    226229         
    227230        isResolverInitialized_ = true; 
     
    239242{ 
    240243    if (isResolverInitialized_) { 
    241         hostResolver_.Close(); 
     244                hostResolver_.Close(); 
     245#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 
    242246        hostResolver6_.Close(); 
    243         isResolverInitialized_ = false; 
     247#endif 
     248        isResolverInitialized_ = false; 
    244249    } 
    245250 
     
    324329    err = os->Initialize(); 
    325330    if (err != KErrNone) 
    326         goto on_error; 
     331        return status; 
    327332     
    328333    /* Initialize exception ID for the pool.  
     
    331336    status = pj_exception_id_alloc("PJLIB/No memory", &PJ_NO_MEMORY_EXCEPTION); 
    332337    if (status != PJ_SUCCESS) 
    333         return status; 
     338        goto on_error; 
    334339 
    335340    PJ_LOG(5,(THIS_FILE, "PJLIB initialized.")); 
Note: See TracChangeset for help on using the changeset viewer.