[Freeswitch-svn] [commit] r12321 - freeswitch/trunk/src/mod/endpoints/mod_skypiax

FreeSWITCH SVN gmaruzz at freeswitch.org
Fri Feb 27 03:38:52 PST 2009


Author: gmaruzz
Date: Fri Feb 27 05:38:52 2009
New Revision: 12321

Log:
skypiax: fixed stupid mistake, works on linux too :-)

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c	Fri Feb 27 05:38:52 2009
@@ -1131,6 +1131,7 @@
 
   xerror = err->error_code;
   ERRORA("Received error code %d from X Server\n\n", SKYPIAX_P_LOG, xerror);
+  running=0;
   return 0;                     /*  ignore the error */
 }
 
@@ -1237,14 +1238,15 @@
   if (status != Success || format_ret != 32 || nitems_ret != 1) {
     SkypiaxHandles->skype_win = (Window) - 1;
     DEBUGA_SKYPE("Skype instance not found\n", SKYPIAX_P_LOG);
-    tech_pvt->SkypiaxHandles.api_connected = 0;
+    running =0;
+    SkypiaxHandles->api_connected = 0;
     return 0;
   }
 
   SkypiaxHandles->skype_win = *(const unsigned long *) prop & 0xffffffff;
   DEBUGA_SKYPE("Skype instance found with id #%d\n", SKYPIAX_P_LOG,
                (unsigned int) SkypiaxHandles->skype_win);
-  tech_pvt->SkypiaxHandles.api_connected = 1;
+  SkypiaxHandles->api_connected = 1;
   return 1;
 }
 



More information about the Freeswitch-svn mailing list