Explorar el Código

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

master
Richard Nyberg hace 18 años
padre
commit
e117d81cf3
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      btpd/content.c

+ 2
- 1
btpd/content.c Ver fichero

@@ -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


Cargando…
Cancelar
Guardar