summaryrefslogtreecommitdiffstats
path: root/src/source.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/source.c')
-rw-r--r--src/source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/source.c b/src/source.c
index e01e9f83..c950b54d 100644
--- a/src/source.c
+++ b/src/source.c
@@ -59,7 +59,7 @@ void source_notify(struct source*s) {
static int do_post(void *p, uint32_t index, int *del, void*userdata) {
struct memchunk *chunk = userdata;
struct source_output *o = p;
- assert(o && o->push && index && del && chunk);
+ assert(o && o->push && del && chunk);
o->push(o, chunk);
return 0;