[Wine-patches] [eterhack] server: Show error message if a license do not allow to run second wineserver (eterbug #2761).

Alexander Morozov amorozov на etersoft.ru
Чт Окт 1 12:11:47 MSD 2009


----------- следующая часть -----------
From e036eefaf3d9af10873e9b9a37b8e1670947e4d8 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Thu, 1 Oct 2009 12:01:00 +0400
Subject: [eterhack] server: Show error message if a license do not allow to run second wineserver (eterbug #2761).

---
 server/main.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/server/main.c b/server/main.c
index 2d32a99..938bacb 100644
--- a/server/main.c
+++ b/server/main.c
@@ -143,7 +143,11 @@ int main( int argc, char *argv[] )
     signal( SIGABRT, sigterm_handler );
 
     LOADETER_FUNC( etersoft_terminal_lock );
-    if (etersoft_terminal_lock && etersoft_terminal_lock()) return 3;
+    if (etersoft_terminal_lock && etersoft_terminal_lock())
+    {
+        system("eterx11msg -count");
+        return 3;
+    }
 
     sock_init();
     open_master_socket();
-- 
1.6.4.2



Подробная информация о списке рассылки Wine-patches