about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-02-10 21:55:14 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-02-10 21:55:14 +0000
commitb61b04f258ad0a04cd35481b514e4261cb982f6e (patch)
tree393867efebefecfcc21c66a8d82d2c3b275b78e1
parentb2271a4851c3c854753f4f4e1631f684311ca23d (diff)
downloadbtpd-b61b04f258ad0a04cd35481b514e4261cb982f6e.tar.gz
btpd-b61b04f258ad0a04cd35481b514e4261cb982f6e.zip
Fix typo.
-rw-r--r--btpd/download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btpd/download.c b/btpd/download.c
index 1553b27..e2b3888 100644
--- a/btpd/download.c
+++ b/btpd/download.c
@@ -98,7 +98,7 @@ dl_on_ok_piece(struct net *n, uint32_t piece)
 
     if (cm_full(n->tp)) {
         btpd_log(BTPD_L_BTPD, "Finished downloading '%s'.\n",
-            torrent_name(tn->tp));
+            torrent_name(n->tp));
         tr_complete(n->tp);
         BTPDQ_FOREACH(p, &n->peers, p_entry)
             assert(p->nwant == 0);