[Freeswitch-branches] [commit] r10675 - freeswitch/branches/gmaruzz/src/mod/endpoints/mod_skypiax

FreeSWITCH SVN gmaruzz at freeswitch.org
Tue Dec 9 03:41:55 PST 2008


Author: gmaruzz
Date: Tue Dec  9 06:41:55 2008
New Revision: 10675

Log:
skypiax: works on linux

Modified:
   freeswitch/branches/gmaruzz/src/mod/endpoints/mod_skypiax/mod_skypiax.c

Modified: freeswitch/branches/gmaruzz/src/mod/endpoints/mod_skypiax/mod_skypiax.c
==============================================================================
--- freeswitch/branches/gmaruzz/src/mod/endpoints/mod_skypiax/mod_skypiax.c	(original)
+++ freeswitch/branches/gmaruzz/src/mod/endpoints/mod_skypiax/mod_skypiax.c	Tue Dec  9 06:41:55 2008
@@ -825,14 +825,14 @@
 
 SWITCH_MODULE_LOAD_FUNCTION(mod_skypiax_load)
 {
-  //struct skypiax_interface *p = NULL;
+  struct skypiax_interface *p = NULL;
 
   skypiax_module_pool = pool;
 
   memset(&globals, '\0', sizeof(globals));
   memset(SKYPIAX_INTERFACES, '\0', sizeof(SKYPIAX_INTERFACES));
 
-#ifndef _WINDOWS_               //FIXME
+#ifndef WIN32               //FIXME
   if (!XInitThreads()) {
     ERRORA("Not initialized XInitThreads!\n", SKYPIAX_P_LOG);
   } else {
@@ -850,6 +850,7 @@
   skypiax_endpoint_interface->io_routines = &skypiax_io_routines;
   skypiax_endpoint_interface->state_handler = &skypiax_state_handlers;
 
+    DEBUGA_SKYPE("EXITING FUNC!\n", SKYPIAX_P_LOG);
   /* indicate that the module should continue to be loaded */
   return SWITCH_STATUS_SUCCESS;
 }



More information about the Freeswitch-branches mailing list