1
0
Fork 0
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:
Josh Elsasser 2007-04-08 21:25:01 +00:00
parent 70c3662a62
commit e15e9e72ee

View file

@ -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 );