chiark
/
gitweb
/
~ian
/
innduct.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcec484
)
Assert readable_callback before we call it
author
Ian Jackson
<ian@chiark.greenend.org.uk>
Tue, 1 Jun 2010 14:26:26 +0000
(15:26 +0100)
committer
Ian Jackson
<ian@chiark.greenend.org.uk>
Tue, 1 Jun 2010 14:26:26 +0000
(15:26 +0100)
infile.c
patch
|
blob
|
history
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);
}