From 6346a14cb5f4540e055e8e964c0e120726ae8cae Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 22 Mar 2013 10:48:41 -0700 Subject: [PATCH] remove voxelServerAddCallback --- interface/src/main.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/interface/src/main.cpp b/interface/src/main.cpp index ed04b45403..5759aa3c8a 100644 --- a/interface/src/main.cpp +++ b/interface/src/main.cpp @@ -900,12 +900,6 @@ void audioMixerUpdate(in_addr_t newMixerAddress, in_port_t newMixerPort) { } #endif -void voxelServerAddCallback(sockaddr *voxelServerAddress) { - char voxelAsk[] = "I"; - printf("Asking VS for data!\n"); - agentList.getAgentSocket().send(voxelServerAddress, voxelAsk, 1); -} - int main(int argc, char** argv) { #ifndef _WIN32 @@ -941,8 +935,7 @@ int main(int argc, char** argv) #ifndef _WIN32 agentList.audioMixerSocketUpdate = &audioMixerUpdate; #endif - agentList.voxelServerAddCallback = &voxelServerAddCallback; - + // start the thread which checks for silent agents agentList.startSilentAgentRemovalThread();