Ignore:
Timestamp:
Jun 20, 2006 3:39:07 PM (18 years ago)
Author:
bennylp
Message:

Yet again large diffs because of documentation/doxygen update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/sipstateless.c

    r448 r531  
    104104    /* Create global endpoint: */ 
    105105    { 
    106         const pj_str_t *hostname; 
    107         const char *endpt_name; 
    108  
    109106        /* Endpoint MUST be assigned a globally unique name. 
    110          * The name will be used as the hostname in Warning header. 
     107         * Ideally we should put hostname or public IP address, but 
     108         * we'll just use an arbitrary name here. 
    111109         */ 
    112110 
    113         /* For this implementation, we'll use hostname for simplicity */ 
    114         hostname = pj_gethostname(); 
    115         endpt_name = hostname->ptr; 
    116  
    117111        /* Create the endpoint: */ 
    118  
    119         status = pjsip_endpt_create(&cp.factory, endpt_name,  
     112        status = pjsip_endpt_create(&cp.factory, "sipstateless",  
    120113                                    &sip_endpt); 
    121114        PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 
Note: See TracChangeset for help on using the changeset viewer.