Changeset 3172
- Timestamp:
- Sep 25, 2007, 11:21:00 PM (15 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/handshake.c
r3166 r3172 386 386 i |= CRYPTO_PROVIDE_CRYPTO; /* always allow crypto */ 387 387 388 #if 0389 388 if( handshake->allowUnencryptedPeers ) /* sometimes allow plaintext */ 390 389 i |= CRYPTO_PROVIDE_PLAINTEXT; 391 #endif392 390 393 391 return i; -
trunk/libtransmission/inout.c
r3161 r3172 115 115 } 116 116 117 #ifdef WIN32 117 118 static int 118 119 ensureMinimumFileSize ( const tr_torrent * tor, … … 145 146 return ret; 146 147 } 148 #endif 147 149 148 150 static int … … 169 171 const uint64_t bytesThisPass = MIN( buflen, file->length - fileOffset ); 170 172 173 #ifdef WIN32 171 174 if( ioMode == TR_IO_WRITE ) 172 175 ret = ensureMinimumFileSize( tor, fileIndex, 173 176 fileOffset + bytesThisPass ); 174 177 if( !ret ) 178 #endif 175 179 ret = readOrWriteBytes( tor, ioMode, 176 180 fileIndex, fileOffset, buf, bytesThisPass );
Note: See TracChangeset
for help on using the changeset viewer.