diff options
author | cbdev <cb@cbcdn.com> | 2019-06-02 15:45:12 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-06-02 15:45:12 +0200 |
commit | edcec9fa9086599d56bffe7fdb2c1f05ae7a3ad8 (patch) | |
tree | 4e2bb02bbe8a2db9d4f217a664e73c25c37c7633 /plugin.c | |
parent | b9297647c68c963a977e2c18f421211e24f9e85a (diff) | |
download | websocksy-edcec9fa9086599d56bffe7fdb2c1f05ae7a3ad8.tar.gz websocksy-edcec9fa9086599d56bffe7fdb2c1f05ae7a3ad8.tar.bz2 websocksy-edcec9fa9086599d56bffe7fdb2c1f05ae7a3ad8.zip |
File backend peer query
Diffstat (limited to 'plugin.c')
-rw-r--r-- | plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ static size_t attached_libraries = 0; static void** attached_library = NULL; static void* plugin_attach(char* path){ - void* module = dlopen(path, RTLD_LAZY); + void* module = dlopen(path, RTLD_NOW); if(!module){ fprintf(stderr, "Failed to load module %s\n", dlerror()); |