Changeset 1131 for pjproject


Ignore:
Timestamp:
Apr 2, 2007 7:11:41 PM (18 years ago)
Author:
bennylp
Message:

Fixed couple of compilation warnings in STUN and new proxy samples with gcc

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/stun_msg.c

    r1126 r1131  
    718718 
    719719    /* Done */ 
    720     *p_attr = attr; 
     720    *p_attr = (void*)attr; 
    721721 
    722722    return PJ_SUCCESS; 
     
    731731    pj_status_t status; 
    732732 
    733     status = decode_sockaddr_attr(pool, buf, &attr); 
     733    status = decode_sockaddr_attr(pool, buf, p_attr); 
    734734    if (status != PJ_SUCCESS) 
    735735        return status; 
     736 
     737    attr = *(pj_stun_sockaddr_attr**)p_attr; 
    736738 
    737739    attr->xor_ed = PJ_TRUE; 
  • pjproject/trunk/pjsip-apps/src/samples/proxy.h

    r1127 r1131  
    7878        case 'p': 
    7979            global.port = atoi(pj_optarg); 
    80             printf("Port is set to %d\n", global.pool); 
     80            printf("Port is set to %d\n", global.port); 
    8181            break; 
    8282         
Note: See TracChangeset for help on using the changeset viewer.