mirror of
https://github.com/transmission/transmission
synced 2025-03-12 23:23:54 +00:00
get cli building again so Hudson will be happy
This commit is contained in:
parent
166262a935
commit
3eeaefd575
1 changed files with 3 additions and 3 deletions
|
@ -155,16 +155,16 @@ main( int argc, char ** argv )
|
|||
|
||||
if( sourceFile && *sourceFile ) /* creating a torrent */
|
||||
{
|
||||
int ret;
|
||||
int err;
|
||||
tr_metainfo_builder * builder = tr_metaInfoBuilderCreate( h, sourceFile );
|
||||
tr_makeMetaInfo( builder, torrentPath, announce, comment, isPrivate );
|
||||
while( !builder->isDone ) {
|
||||
tr_wait( 1000 );
|
||||
printf( "." );
|
||||
}
|
||||
ret = !builder->failed;
|
||||
err = builder->result;
|
||||
tr_metaInfoBuilderFree( builder );
|
||||
return ret;
|
||||
return err;
|
||||
}
|
||||
|
||||
ctor = tr_ctorNew( h );
|
||||
|
|
Loading…
Add table
Reference in a new issue