Ignore:
Timestamp:
May 11, 2008 6:11:32 PM (16 years ago)
Author:
bennylp
Message:

Added pj_sockaddr_cp()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/sock_common.c

    r1647 r1952  
    391391 
    392392/* 
     393 * Copy socket address. 
     394 */ 
     395PJ_DEF(void) pj_sockaddr_cp(pj_sockaddr_t *dst, const pj_sockaddr_t *src) 
     396{ 
     397    pj_memcpy(dst, src, pj_sockaddr_get_len(src)); 
     398} 
     399 
     400/* 
    393401 * Set port number of pj_sockaddr_in 
    394402 */ 
Note: See TracChangeset for help on using the changeset viewer.