Changeset 7451


Ignore:
Timestamp:
Dec 21, 2008, 7:35:38 PM (12 years ago)
Author:
charles
Message:

(trunk libT) one more ACL warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc-server.c

    r7449 r7451  
    599599        char * token = tr_strndup( walk, len );
    600600        tr_list_append( &server->whitelist, token );
    601         tr_ninf( MY_NAME, "Adding address to whitelist: [%s]", token );
     601        if( strcspn( token, "+-" ) < len )
     602            tr_ninf( MY_NAME, "Adding address to whitelist: %s (And it has a '+' or '-'!  Are you using an old ACL by mistake?)", token );
     603        else
     604            tr_ninf( MY_NAME, "Adding address to whitelist: %s", token );
     605       
    602606        if( walk[len]=='\0' )
    603607            break;
Note: See TracChangeset for help on using the changeset viewer.