chiark
/
gitweb
/
~ian
/
innduct.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Assert readable_callback before we call it
[innduct.git]
/
infile.c
diff --git
a/infile.c
b/infile.c
index 4e34c626e1a34eb4d7599b8cac7f1c717d3a6d85..3c93d1f2d1c796b171f61d8382e19e2ade19c70d 100644
(file)
--- a/
infile.c
+++ b/
infile.c
@@
-192,6
+192,7
@@
static void *tailing_rable_call_time(oop_source *lp, struct timeval tv,
dbg("**TRACT** ipf=%p reschedule",ipf);
loop->on_time(loop, OOP_TIME_NOW, tailing_rable_call_time, ipf);
+ assert(ipf->readable_callback):
return ipf->readable_callback(loop, &ipf->readable,
ipf->readable_callback_user);
}