mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
stupid typo
This commit is contained in:
parent
4c32f40f3b
commit
096f550d4a
1 changed files with 2 additions and 2 deletions
|
@ -192,13 +192,13 @@ int tr_metainfoParse( tr_info_t * inf, const char * path,
|
||||||
snprintf( inf->trackerAnnounce, MAX_PATH_LENGTH, "%s", s2 );
|
snprintf( inf->trackerAnnounce, MAX_PATH_LENGTH, "%s", s2 );
|
||||||
|
|
||||||
/* Comment info */
|
/* Comment info */
|
||||||
if( ( val = tr_bencDictFind( beInfo, "comment.utf-8" ) ) || ( val = tr_bencDictFind( &meta, "comment" ) ) )
|
if( ( val = tr_bencDictFind( &meta, "comment.utf-8" ) ) || ( val = tr_bencDictFind( &meta, "comment" ) ) )
|
||||||
{
|
{
|
||||||
strcatUTF8( inf->comment, val->val.s.s );
|
strcatUTF8( inf->comment, val->val.s.s );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Creator info */
|
/* Creator info */
|
||||||
if( ( val = tr_bencDictFind( beInfo, "created by.utf-8" ) ) || ( val = tr_bencDictFind( &meta, "created by" ) ) )
|
if( ( val = tr_bencDictFind( &meta, "created by.utf-8" ) ) || ( val = tr_bencDictFind( &meta, "created by" ) ) )
|
||||||
{
|
{
|
||||||
strcatUTF8( inf->creator, val->val.s.s );
|
strcatUTF8( inf->creator, val->val.s.s );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue