Changeset 609 for trunk/libtransmission


Ignore:
Timestamp:
Jul 16, 2006, 4:05:43 PM (15 years ago)
Author:
titer
Message:

Increased limit on the size of torrent files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/metainfo.c

    r547 r609  
    2424
    2525#include "transmission.h"
     26
     27#define TORRENT_MAX_SIZE (5*1024*1024)
    2628
    2729/***********************************************************************
     
    6668        return 1;
    6769    }
    68     if( sb.st_size > 2097152 )
     70    if( sb.st_size > TORRENT_MAX_SIZE )
    6971    {
    7072        tr_err( "Torrent file is too big (%d bytes)", sb.st_size );
Note: See TracChangeset for help on using the changeset viewer.