Fix bug in schedule_accept()
Taken from the patch at :-
http://comments.gmane.org/gmane.comp.web.polipo.user/3176