Ignore:
Timestamp:
May 31, 2010, 5:03:51 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #3249 "C99-ism in libtransmission/tr-lpd.c" -- fixed in trunk for 2.00

File:
1 edited

Legend:

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

    r10635 r10714  
    3333#include <unistd.h> /* close() */
    3434#include <fcntl.h> /* fcntl(), O_NONBLOCK */
    35 #include <ctype.h>
     35#include <ctype.h> /* toupper() */
    3636
    3737/* third party */
     
    430430tr_bool tr_lpdSendAnnounce( const tr_torrent* t )
    431431{
     432    size_t i;
    432433    const char fmt[] =
    433434        "BT-SEARCH * HTTP/%u.%u" CRLF
     
    445446
    446447    /* make sure the hash string is normalized, just in case */
    447     for( size_t i = 0; i < sizeof hashString; i++ )
     448    for( i = 0; i < sizeof hashString; i++ )
    448449        hashString[i] = toupper( t->info.hashString[i] );
    449450
Note: See TracChangeset for help on using the changeset viewer.