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:
parent
26499dff7d
commit
7f2e4084dc
1 changed files with 1 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue