mirror of
https://github.com/transmission/transmission
synced 2025-02-03 21:12:05 +00:00
oops, remove some debugging print messages from the previous commit. (hi titer)
This commit is contained in:
parent
639896958f
commit
e071c791a1
1 changed files with 0 additions and 3 deletions
|
@ -150,14 +150,11 @@ readargs( int argc, const char ** argv )
|
||||||
int64_t fields = 0;
|
int64_t fields = 0;
|
||||||
args = tr_bencDictAddDict( &top, "arguments", 0 );
|
args = tr_bencDictAddDict( &top, "arguments", 0 );
|
||||||
|
|
||||||
fprintf( stderr, "got opt [%c][%s]\n", (char)c, (optarg?optarg:"(null)") );
|
|
||||||
switch( c )
|
switch( c )
|
||||||
{
|
{
|
||||||
case -2: /* special case: recognize options we didn't set above */
|
case -2: /* special case: recognize options we didn't set above */
|
||||||
fprintf( stderr, "hello world\n" );
|
|
||||||
if( addingTorrents ) {
|
if( addingTorrents ) {
|
||||||
char * tmp;
|
char * tmp;
|
||||||
fprintf( stderr, "adding filename [%s]\n", optarg );
|
|
||||||
tr_bencDictAddStr( &top, "method", "torrent-add" );
|
tr_bencDictAddStr( &top, "method", "torrent-add" );
|
||||||
tr_bencDictAddStr( args, "metainfo", ((tmp=getEncodedMetainfo(optarg))) );
|
tr_bencDictAddStr( args, "metainfo", ((tmp=getEncodedMetainfo(optarg))) );
|
||||||
tr_free( tmp );
|
tr_free( tmp );
|
||||||
|
|
Loading…
Reference in a new issue