mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
Whoops, set tr_info_t->torrent for non-saved torrents again.
This commit is contained in:
parent
70c3662a62
commit
e15e9e72ee
1 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,10 @@ tr_metainfoParseFile( tr_info_t * inf, const char * tag,
|
|||
}
|
||||
savedname( inf->torrent, sizeof inf->torrent, inf->hashString, tag );
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf( inf->torrent, sizeof inf->torrent, "%s", path );
|
||||
}
|
||||
|
||||
free( buf );
|
||||
|
||||
|
|
Loading…
Reference in a new issue