Ignore:
Timestamp:
Mar 5, 2007, 3:41:13 AM (15 years ago)
Author:
joshe
Message:

Use memset instead of bzero.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r1463 r1529  
    606606    int res;
    607607
    608     bzero( buf, sizeof( buf ) );
     608    memset( buf, 0, sizeof( buf ) );
    609609    buf[0] = PMP_VERSION;
    610610    buf[1] = PMP_OPCODE_ADDTCP;
     
    708708    int version, respopcode, opcode, wantedopcode, rescode, privport;
    709709
    710     bzero( parse, sizeof( *parse ) );
     710    memset( parse, 0, sizeof( *parse ) );
    711711
    712712    if( 8 > len )
Note: See TracChangeset for help on using the changeset viewer.