Changeset 1997


Ignore:
Timestamp:
Jun 7, 2008 11:23:27 AM (16 years ago)
Author:
bennylp
Message:

Fixed more mismatch decl/def function specifications (thanks Samuel Vinson)

Location:
pjproject/trunk/pjnath
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/stun_msg.h

    r1988 r1997  
    16431643 * @param msg           The STUN message. 
    16441644 * @param attr_cnt      Number of attributes in the array (can be zero). 
    1645  * @param attr          Optional array of attributes. 
     1645 * @param attr          Optional array of attribute types. 
    16461646 * 
    16471647 * @return              PJ_SUCCESS on success or the appropriate error code. 
  • pjproject/trunk/pjnath/src/pjnath/stun_msg.c

    r1995 r1997  
    15581558PJ_DEF(pj_status_t) pj_stun_msg_add_unknown_attr(pj_pool_t *pool, 
    15591559                                                 pj_stun_msg *msg, 
    1560                                                  pj_size_t attr_cnt, 
    1561                                                  const pj_uint16_t attr_types[]) 
     1560                                                 unsigned attr_cnt, 
     1561                                                 const pj_uint16_t attr_type[]) 
    15621562{ 
    15631563    pj_stun_unknown_attr *attr = NULL; 
    15641564    pj_status_t status; 
    15651565 
    1566     status = pj_stun_unknown_attr_create(pool, attr_cnt, attr_types, &attr); 
     1566    status = pj_stun_unknown_attr_create(pool, attr_cnt, attr_type, &attr); 
    15671567    if (status != PJ_SUCCESS) 
    15681568        return status; 
     
    16471647                                               int attr_type, 
    16481648                                               const pj_uint8_t *data, 
    1649                                                pj_size_t length, 
     1649                                               unsigned length, 
    16501650                                               pj_stun_binary_attr **p_attr) 
    16511651{ 
     
    16741674                                                int attr_type, 
    16751675                                                const pj_uint8_t *data, 
    1676                                                 pj_size_t length) 
     1676                                                unsigned length) 
    16771677{ 
    16781678    pj_stun_binary_attr *attr = NULL; 
Note: See TracChangeset for help on using the changeset viewer.