~ubuntu-branches/ubuntu/oneiric/transmission/oneiric

« back to all changes in this revision

Viewing changes to libtransmission/session.c

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Klimonda
  • Date: 2011-03-31 17:34:58 UTC
  • Revision ID: james.westby@ubuntu.com-20110331173458-b1e2432ikhtqpdy4
Tags: 2.13-0ubuntu8
* debian/patches/0113-fix_support_for_ipv6_trackers.patch:
  - update patch to fix the crash it has introduced. (LP: #740614) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
            break;
241
241
    }
242
242
 
243
 
    if( is_default_value != NULL )
244
 
        *is_default_value = !strcmp( default_value, tr_ntop_non_ts( &bindinfo->addr ) );
 
243
    if( is_default_value != NULL && bindinfo )
 
244
        *is_default_value = !tr_strcmp0( default_value, tr_ntop_non_ts( &bindinfo->addr ) );
245
245
 
246
246
    return bindinfo ? &bindinfo->addr : NULL;
247
247
}