Skip to content

Commit

Permalink
#20 Fix linux compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
securesocketfunneling committed Sep 4, 2016
1 parent f1fda0d commit 6ba59f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/common/config/services.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ Services::Services()
: datagram_forwarder_(),
datagram_listener_(),
file_copy_(),
socks_(),
shell_(),
socks_(),
stream_forwarder_(),
stream_listener_() {}

Services::Services(const Services& services)
: datagram_forwarder_(services.datagram_forwarder_),
datagram_listener_(services.datagram_listener_),
file_copy_(services.file_copy_),
socks_(services.socks_),
shell_(services.shell_),
socks_(services.socks_),
stream_forwarder_(services.stream_forwarder_),
stream_listener_(services.stream_listener_) {}

Expand Down
2 changes: 1 addition & 1 deletion src/services/copy_file/file_enquirer/file_enquirer.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class FileEnquirer : public BaseService<Demux> {
virtual uint32_t service_type_id() { return factory_id; }

static void RegisterToServiceFactory(
std::shared_ptr<ServiceFactory<demux>> p_factory, const Config& config) {
std::shared_ptr<ServiceFactory<Demux>> p_factory, const Config& config) {
if (!config.enabled()) {
// service factory is not enabled
return;
Expand Down

0 comments on commit 6ba59f8

Please sign in to comment.