From 254b0a4fd60425d6c2ca2f53ff5661afa2eec72f Mon Sep 17 00:00:00 2001 From: gardners Date: Tue, 4 Dec 2012 07:12:03 +1030 Subject: [PATCH] fixed problem with rhizome over http (alarm without callback specified). --- rhizome_fetch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rhizome_fetch.c b/rhizome_fetch.c index 46f1097f..a802b2b8 100644 --- a/rhizome_fetch.c +++ b/rhizome_fetch.c @@ -1476,6 +1476,7 @@ void rhizome_fetch_poll(struct sched_ent *alarm) unschedule(&slot->alarm); slot->alarm.alarm=gettime_ms() + RHIZOME_IDLE_TIMEOUT; slot->alarm.deadline = slot->alarm.alarm + RHIZOME_IDLE_TIMEOUT; + slot->alarm.function = rhizome_fetch_poll; schedule(&slot->alarm); return;