Changeset 3458
- Timestamp:
- Oct 18, 2007, 7:33:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/tracker.c
r3457 r3458 807 807 if( 200<=responseCode && responseCode<=299 ) 808 808 { 809 dbgmsg( t, "request succeeded. reannouncing in %d seconds", t->announceIntervalSec );810 809 dbgmsg( t, "request succeeded. reannouncing in %d seconds", 810 t->announceIntervalSec ); 811 811 t->manualAnnounceAllowedAt = time(NULL) 812 812 + t->announceMinIntervalSec; … … 830 830 * malformed syntax. The client SHOULD NOT repeat the 831 831 * request without modifications. */ 832 publishErrorMessage( t, req->response_code_line ); 832 if( req && req->response_code_line ) 833 publishErrorMessage( t, req->response_code_line ); 833 834 t->manualAnnounceAllowedAt = ~(time_t)0; 834 835 t->reannounceTimer = NULL; … … 842 843 * incapable of performing the request. So we pause a bit and 843 844 * try again. */ 844 publishWarning( t, req->response_code_line ); 845 if( req && req->response_code_line ) 846 publishWarning( t, req->response_code_line ); 845 847 t->manualAnnounceAllowedAt = ~(time_t)0; 846 848 t->reannounceTimer = tr_timerNew( t->handle, onRetry, t, 15 * 1000 ); … … 851 853 852 854 /* WTF did we get?? */ 853 publishErrorMessage( t, req->response_code_line ); 855 if( req && req->response_code_line ) 856 publishErrorMessage( t, req->response_code_line ); 854 857 t->manualAnnounceAllowedAt = ~(time_t)0; 855 858 t->reannounceTimer = tr_timerNew( t->handle, onRetry, t, 120 * 1000 );
Note: See TracChangeset
for help on using the changeset viewer.