Ignore:
Timestamp:
Mar 25, 2011, 5:34:26 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) API cleanup of the tr_address functions to make them more consistent.

This is loosely related to #2910, but only in the sense of laying the groundwork for #2910's fix...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r12228 r12229  
    999999
    10001000bool
    1001 tr_addressIsIP( const char * address )
    1002 {
    1003     tr_address tempAddr;
    1004     return tr_pton(address, &tempAddr) != NULL;
     1001tr_addressIsIP( const char * str )
     1002{
     1003    tr_address tmp;
     1004    return tr_address_from_string( &tmp, str );
    10051005}
    10061006
Note: See TracChangeset for help on using the changeset viewer.