Reset the cancel/break value when retrying a failed download
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 18 Feb 2010 19:18:59 +0000 (20:18 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 19 Feb 2010 08:50:09 +0000 (09:50 +0100)
commit810c58760143f0d24d4b79437ba3f352c86dd0ec
tree1af682504d78f9ebb2717e6d2e91dde9d6784db1
parentc5dc45d7ff749bfcbc14cf4f680c88e440563220
Reset the cancel/break value when retrying a failed download

* src/operations.cc (ip_download_cur_retry): reset entertainment state before
  downloading again.
* src/util.cc (reset_entertainment): New function
* src/util.h: New function exporting
src/operations.cc
src/util.cc
src/util.h