(trunk, libT) #4682 'Add return id from duplicate torrent torrent-add rpc' -- added.

This commit is contained in:
Jordan Lee
2013-05-22 20:35:38 +00:00
parent 094af58f29
commit 027e3f3066
16 changed files with 126 additions and 76 deletions

View File

@@ -222,7 +222,6 @@ getConfigDir (int argc, const char ** argv)
int
main (int argc, char ** argv)
{
int error;
tr_session * h;
tr_ctor * ctor;
tr_torrent * tor = NULL;
@@ -310,7 +309,7 @@ main (int argc, char ** argv)
tr_free (fileContents);
tor = tr_torrentNew (ctor, &error);
tor = tr_torrentNew (ctor, NULL, NULL);
tr_ctorFree (ctor);
if (!tor)
{