Ignore:
Timestamp:
Jul 15, 2008, 5:16:57 PM (14 years ago)
Author:
charles
Message:

add a portability wrapper tr_snprintf() around snprintf()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc-server.c

    r6328 r6334  
    263263
    264264        server->ctx = shttpd_init( );
    265         snprintf( ports, sizeof( ports ), "%d", server->port );
     265        tr_snprintf( ports, sizeof( ports ), "%d", server->port );
    266266        shttpd_register_uri( server->ctx, "/transmission/rpc", handle_rpc, server );
    267267        shttpd_register_uri( server->ctx, "/transmission/upload", handle_upload, server );
Note: See TracChangeset for help on using the changeset viewer.