Browse Source

* f2b_filter_create() : dlsym flush()

master
Alex 'AdUser' Z 8 years ago
parent
commit
174b5c01eb
  1. 2
      src/filter.c

2
src/filter.c

@ -96,6 +96,8 @@ f2b_filter_create(f2b_config_section_t *config, const char *file) {
goto cleanup; goto cleanup;
if ((*(void **) (&filter->ready) = dlsym(filter->h, "ready")) == NULL) if ((*(void **) (&filter->ready) = dlsym(filter->h, "ready")) == NULL)
goto cleanup; goto cleanup;
if ((*(void **) (&filter->flush) = dlsym(filter->h, "flush")) == NULL)
goto cleanup;
if ((*(void **) (&filter->stats) = dlsym(filter->h, "stats")) == NULL) if ((*(void **) (&filter->stats) = dlsym(filter->h, "stats")) == NULL)
goto cleanup; goto cleanup;
if ((*(void **) (&filter->match) = dlsym(filter->h, "match")) == NULL) if ((*(void **) (&filter->match) = dlsym(filter->h, "match")) == NULL)

Loading…
Cancel
Save