Ignore:
Timestamp:
Jul 15, 2008, 3:26:53 AM (13 years ago)
Author:
charles
Message:

better nat-pmp error logging. (this will very briefly break the mac build)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r5970 r6332  
    2222#endif
    2323
     24#define ENABLE_STRNATPMPERR
    2425#include <libnatpmp/natpmp.h>
    2526
     
    7071        tr_ninf( getKey(), _( "%s succeeded (%d)" ), func, ret );
    7172    else
    72         tr_ndbg( getKey(), "%s failed (%d): %s (%d)", func, ret, tr_strerror(errno), errno );
     73        tr_ndbg( getKey(), "%s failed.  natpmp returned %d (%s); errno is %d (%s)",
     74                 func, ret, strnatpmperr(ret), errno, tr_strerror(errno) );
     75
    7376}
    7477
Note: See TracChangeset for help on using the changeset viewer.