Ignore:
Timestamp:
Jan 23, 2013, 4:28:37 AM (8 years ago)
Author:
jordan
Message:

(libT) replace errant snprintf() calls with tr_snprintf() calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-lpd.c

    r13625 r13847  
    226226
    227227    /* compose the string token to search for */
    228     snprintf (sstr, maxLength, CRLF "%s: ", name);
     228    tr_snprintf (sstr, maxLength, CRLF "%s: ", name);
    229229
    230230    pos = strstr (str, sstr);
     
    455455
    456456    /* prepare a zero-terminated announce message */
    457     snprintf (query, lpd_maxDatagramLength + 1, fmt, 1, 1,
    458         lpd_mcastGroup, lpd_mcastPort, lpd_port, hashString);
     457    tr_snprintf (query, lpd_maxDatagramLength + 1, fmt, 1, 1,
     458                 lpd_mcastGroup, lpd_mcastPort, lpd_port, hashString);
    459459
    460460    /* actually send the query out using [lpd_socket2] */
Note: See TracChangeset for help on using the changeset viewer.