1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 13:03:50 +00:00

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

This commit is contained in:
Charles Kerr 2009-05-05 22:51:12 +00:00
parent 09e19c0da2
commit 25e12d9242

View file

@ -316,7 +316,9 @@ serve_file( struct evhttp_request * req,
if( errno )
{
send_simple_response( req, HTTP_NOTFOUND, filename );
char * tmp = tr_strdup_printf( "%s (%s)", filename, tr_strerror( errno ) );
send_simple_response( req, HTTP_NOTFOUND, tmp );
tr_free( tmp );
}
else
{