Ignore:
Timestamp:
Jul 3, 2006 3:19:31 PM (18 years ago)
Author:
bennylp
Message:

Change all pj_memset to pj_bzero(), where applicable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/string.h

    r581 r582  
    553553PJ_INLINE(void) pj_bzero(void *dst, pj_size_t size) 
    554554{ 
     555#if defined(PJ_HAS_BZERO) && PJ_HAS_BZERO!=0 
    555556    bzero(dst, size); 
     557#else 
     558    memset(dst, 0, size); 
     559#endif 
    556560} 
    557561 
Note: See TracChangeset for help on using the changeset viewer.