Changeset 8340


Ignore:
Timestamp:
May 5, 2009, 10:51:12 PM (12 years ago)
Author:
charles
Message:

(trunk libT) more informative 404 error message when we're unable to load a clutch file

File:
1 edited

Legend:

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

    r8246 r8340  
    317317        if( errno )
    318318        {
    319             send_simple_response( req, HTTP_NOTFOUND, filename );
     319            char * tmp = tr_strdup_printf( "%s (%s)", filename, tr_strerror( errno ) );
     320            send_simple_response( req, HTTP_NOTFOUND, tmp );
     321            tr_free( tmp );
    320322        }
    321323        else
Note: See TracChangeset for help on using the changeset viewer.