All pastes #830698 Raw Edit

Unnamed

public diff v1 · immutable
#830698 ·published 2007-12-24 04:51 UTC
rendered paste body
[charles@localhost daemon]$ svn diff torrents.cIndex: torrents.c===================================================================--- torrents.c  (revision 4304)+++ torrents.c  (working copy)@@ -378,22 +378,12 @@     assert( NULL != gl_handle );     assert( !gl_exiting ); -    if( pex == gl_pex )+    if( pex != gl_pex )     {-        return;-    }-    gl_pex = pex;+        tr_setPexEnabled( gl_pex ); -    for( tor = iterate( NULL ); NULL != tor; tor = iterate( tor ) )-    {-        if( tor->pexset )-        {-            continue;-        }-        tr_torrentDisablePex( tor->tor, !gl_pex );+        savestate( );     }--    savestate(); }  int