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

version» Context lines:

pike.git/src/post_modules/Shuffler/d_source_pikestream.c:106:    if (s->available < 0)    s->s.eof = 1;    s->available = 0;    } else {   getmore:    /* No data available, but there should be in the future (no EOF, nor    * out of the range of data to send as specified by the arguments to    * source_stream_make)    */    res.len = -2; -  } +     setup_callbacks(src); -  +  }    return res;   }      static void free_source( struct source *src )   {    struct pf_source *s = (struct pf_source *)src;    remove_callbacks( src );    frees(s);    free_object(s->cb_obj);    free_object(s->obj);