fix r2210 oops

This commit is contained in:
Charles Kerr 2007-06-28 00:04:42 +00:00
parent 61897560d9
commit 995c1cdbb1
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ tr_torrentInit( tr_handle_t * h,
int val; int val;
tr_torrent_t * tor = NULL; tr_torrent_t * tor = NULL;
if(( val = tr_torrentParse( h, destination, path, NULL ))) if(( val = tr_torrentParse( h, path, destination, NULL )))
*error = val; *error = val;
else if(!(( tor = tr_new0( tr_torrent_t, 1 )))) else if(!(( tor = tr_new0( tr_torrent_t, 1 ))))
*error = TR_EOTHER; *error = TR_EOTHER;