aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/sysactivity
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2011-08-29 10:12:17 +0000
committerDamian Minkov <damencho@jitsi.org>2011-08-29 10:12:17 +0000
commit0467768d8c958e69f737c90520b1b876df8f0e86 (patch)
tree247d62c53e8200c82be1fcba169889220384c251 /src/native/sysactivity
parent4656adcd6372cb2681a5975330a66c672813215e (diff)
downloadjitsi-0467768d8c958e69f737c90520b1b876df8f0e86.zip
jitsi-0467768d8c958e69f737c90520b1b876df8f0e86.tar.gz
jitsi-0467768d8c958e69f737c90520b1b876df8f0e86.tar.bz2
Fixes crashes reported on various x86 windows machines.
Diffstat (limited to 'src/native/sysactivity')
-rw-r--r--src/native/sysactivity/net_java_sip_communicator_impl_sysactivity_SystemActivityNotifications.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/native/sysactivity/net_java_sip_communicator_impl_sysactivity_SystemActivityNotifications.cpp b/src/native/sysactivity/net_java_sip_communicator_impl_sysactivity_SystemActivityNotifications.cpp
index a2017f5..67658e6 100644
--- a/src/native/sysactivity/net_java_sip_communicator_impl_sysactivity_SystemActivityNotifications.cpp
+++ b/src/native/sysactivity/net_java_sip_communicator_impl_sysactivity_SystemActivityNotifications.cpp
@@ -265,6 +265,7 @@ JNIEXPORT jlong JNICALL Java_net_java_sip_communicator_impl_sysactivity_SystemAc
JNIEXPORT void JNICALL Java_net_java_sip_communicator_impl_sysactivity_SystemActivityNotifications_start
(JNIEnv* jniEnv, jclass clazz, jlong ptr)
{
+/*
OSVERSIONINFOEX osVersionInfoEx;
memset( &osVersionInfoEx, 0, sizeof(OSVERSIONINFOEX) );
osVersionInfoEx.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
@@ -272,6 +273,7 @@ JNIEXPORT void JNICALL Java_net_java_sip_communicator_impl_sysactivity_SystemAct
if( osVersionInfoEx.dwMajorVersion == 5)
{
+*/
// XP
while(true)
{
@@ -299,6 +301,7 @@ JNIEXPORT void JNICALL Java_net_java_sip_communicator_impl_sysactivity_SystemAct
notify(net_java_sip_communicator_impl_sysactivity_SystemActivityNotifications_NOTIFY_NETWORK_CHANGE);
}
+/*
}
else if( osVersionInfoEx.dwMajorVersion > 5)
{
@@ -321,6 +324,7 @@ JNIEXPORT void JNICALL Java_net_java_sip_communicator_impl_sysactivity_SystemAct
&hNotification);
}
}
+*/
}
/*