diff options
Diffstat (limited to 'libtransport/src/core/io_module.cc')
-rw-r--r-- | libtransport/src/core/io_module.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libtransport/src/core/io_module.cc b/libtransport/src/core/io_module.cc index a751eabf5..69e4e8bcf 100644 --- a/libtransport/src/core/io_module.cc +++ b/libtransport/src/core/io_module.cc @@ -19,8 +19,10 @@ #include <glog/logging.h> #include <hicn/transport/core/io_module.h> +#include <iostream> + #ifdef ANDROID -#include <io_modules/udp/hicn_forwarder_module.h> +#include <io_modules/hicn-light-ng/hicn_forwarder_module.h> #elif _WIN32 #include <hicn/util/windows/windows_utils.h> #endif @@ -55,8 +57,9 @@ IoModule *IoModule::load(const char *module_name) { if (!creator) { if ((error = dlerror()) != 0) { LOG(ERROR) << error; - return 0; } + + return 0; } // create object and return it @@ -85,4 +88,4 @@ bool IoModule::unload(IoModule *module) { } } // namespace core -} // namespace transport
\ No newline at end of file +} // namespace transport |