pike.git / src / post_modules / Shuffler / d_source_pikestream.c

version» Context lines:

pike.git/src/post_modules/Shuffler/d_source_pikestream.c:96:    res.len = -2;    setup_callbacks(src);    }    return res;   }      static void f_got_data( INT32 args )   {    struct pf_source *s = (struct pf_source*)Pike_fp->current_object->storage;    -  if (!s->obj) // Already finished -  return; // FIXME Should we throw an error here? +  if (!s->obj) /* Already finished */ +  return; /* FIXME Should we throw an error here? */       remove_callbacks( (struct source *)s );       if (args < 2    || TYPEOF(Pike_sp[-1]) != PIKE_T_STRING) {    s->eof = 1; /* signal EOF */    pop_n_elems(args);    if (!s->available)    goto cb;    } else {