]> mj.ucw.cz Git - libucw.git/commit
Main recio: Avoid calling of read_handler() with zero available bytes.
authorPavel Charvat <pchar@ucw.cz>
Sun, 11 Feb 2018 16:32:48 +0000 (17:32 +0100)
committerPavel Charvat <pchar@ucw.cz>
Sun, 11 Feb 2018 16:32:48 +0000 (17:32 +0100)
commit555f79c1d4e8279370f365bcb9bc4a5e136e0e9e
tree579040338af36ad623d16016749fd91dba1135ea
parent612f9b5f298cd12dc193101c2bafa36516deb48c
Main recio: Avoid calling of read_handler() with zero available bytes.

The problem was in the deferred hook. Also changed it's return value,
hooks like this should always return HOOK_IDLE and not slower HOOK_RETRY.
ucw/main-rec.c