Changeset 10624


Ignore:
Timestamp:
May 2, 2010, 6:03:49 PM (8 years ago)
Author:
livings124
Message:

more logging to try to smoke out #3041

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/blocklist.c

    r10558 r10624  
    1111 */
    1212
    13 #include <ctype.h> /* isprint() */
    1413#include <stdio.h>
    1514#include <stdlib.h> /* free() */
     
    286285        {
    287286            printf( "error rangeBegin: %s", line );
     287            /* don't try to display the actual lines - it causes issues */
    288288            tr_err( _( "blocklist skipped invalid address at line %d" ), inCount );
    289289            free( line );
     
    295295        {
    296296            printf( "error rangeEnd: %s", line );
     297            /* don't try to display the actual lines - it causes issues */
    297298            tr_err( _( "blocklist skipped invalid address at line %d" ), inCount );
    298299            free( line );
  • trunk/macosx/BlocklistDownloader.m

    r10539 r10624  
    119119- (void) download: (NSURLDownload *) download didFailWithError: (NSError *) error
    120120{
     121    #warning remove
     122    NSLog(@"%@", [error localizedDescription]);
     123    NSLog(@"%@", [error localizedFailureReason]);
     124    NSLog(@"%@", [error localizedRecoverySuggestion]);
    121125    [fViewController setFailed: [error localizedDescription]];
    122126   
     
    146150   
    147151    fDownload = [[NSURLDownload alloc] initWithRequest: request delegate: self];
    148     [fDownload setDestination: [NSTemporaryDirectory() stringByAppendingPathComponent: FILE_NAME] allowOverwrite: NO];
     152    [fDownload setDestination: [NSTemporaryDirectory() stringByAppendingPathComponent: FILE_NAME] allowOverwrite: YES];
    149153}
    150154
  • trunk/macosx/BlocklistDownloaderViewController.m

    r9844 r10624  
    116116    [alert setAlertStyle: NSWarningAlertStyle];
    117117   
    118     [alert setInformativeText: [NSString stringWithFormat: @"%@ - %@", NSLocalizedString(@"Error", "Blocklist -> message"),
    119         error]];
     118    [alert setInformativeText: error];
    120119   
    121120    [alert beginSheetModalForWindow: [fPrefsController window] modalDelegate: self
Note: See TracChangeset for help on using the changeset viewer.