1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

(trunk libT) fix webseed issue reported by Alex Hartl

This commit is contained in:
Jordan Lee 2011-05-29 14:59:00 +00:00
parent 26499dff7d
commit 7f2e4084dc

View file

@ -250,6 +250,7 @@ make_url( tr_webseed * w, const tr_file * file )
struct evbuffer * buf = evbuffer_new( );
evbuffer_add( buf, w->base_url, w->base_url_len );
evbuffer_add( buf, "", 1 );
/* if url ends with a '/', add the torrent name */
if( w->base_url[w->base_url_len - 1] == '/' && file->name )