fixed build error
authorVictor Kirhenshtein <victor@netxms.org>
Mon, 25 Sep 2017 11:01:31 +0000 (14:01 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Mon, 25 Sep 2017 11:01:31 +0000 (14:01 +0300)
src/server/core/main.cpp

index 73013c7..09e6ab6 100644 (file)
@@ -113,7 +113,7 @@ THREAD_RESULT THREAD_CALL BeaconPoller(void *);
 THREAD_RESULT THREAD_CALL JobManagerThread(void *);
 THREAD_RESULT THREAD_CALL UptimeCalculator(void *);
 THREAD_RESULT THREAD_CALL ReportingServerConnector(void *);
-THREAD_RESULT THREAD_CALL TunnelListener(void *arg);
+THREAD_RESULT THREAD_CALL TunnelListenerThread(void *arg);
 
 /**
  * Global variables
@@ -996,7 +996,7 @@ retry_db_lock:
        ThreadCreate(MobileDeviceListenerThread, 0, NULL);
 
        // Agent tunnels
-   s_tunnelListenerThread = ThreadCreateEx(TunnelListener, 0, NULL);
+   s_tunnelListenerThread = ThreadCreateEx(TunnelListenerThread, 0, NULL);
 
        // Start uptime calculator for SLM
        ThreadCreate(UptimeCalculator, 0, NULL);