diff --git a/src/source.c b/src/source.c index a113911..1a7bae8 100644 --- a/src/source.c +++ b/src/source.c @@ -42,6 +42,8 @@ f2b_source_create(f2b_config_section_t *config, const char *init) { goto cleanup; if ((*(void **) (&source->next) = dlsym(source->h, "next")) == NULL) goto cleanup; + if ((*(void **) (&source->stats) = dlsym(source->h, "stats")) == NULL) + goto cleanup; if ((*(void **) (&source->stop) = dlsym(source->h, "stop")) == NULL) goto cleanup; if ((*(void **) (&source->destroy) = dlsym(source->h, "destroy")) == NULL)