Browse Source

Better log message.

master
Richard Nyberg 19 years ago
parent
commit
c577f4dbff
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      btpd/download.c

+ 2
- 1
btpd/download.c View File

@@ -97,7 +97,8 @@ dl_on_ok_piece(struct net *n, uint32_t piece)
piece_free(pc);

if (cm_full(n->tp)) {
btpd_log(BTPD_L_BTPD, "Finished: %s.\n", n->tp->relpath);
btpd_log(BTPD_L_BTPD, "Finished downloading '%s'.\n",
torrent_name(tn->tp));
tr_complete(n->tp);
BTPDQ_FOREACH(p, &n->peers, p_entry)
assert(p->nwant == 0);


Loading…
Cancel
Save