浏览代码

Only trigger error handling if an error actually occured. :P

master
Richard Nyberg 18 年前
父节点
当前提交
e117d81cf3
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      btpd/content.c

+ 2
- 1
btpd/content.c 查看文件

@@ -144,7 +144,8 @@ cm_write_done(struct torrent *tp)
btpd_ev_del(&cm->save_timer);
if (!err)
cm_save(tp);
cm_on_error(tp);
else
cm_on_error(tp);
}

void


||||||
x
 
000:0
正在加载...
取消
保存