https://qa.mandrakesoft.com/show_bug.cgi?id=613





------- Additional Comments From [EMAIL PROTECTED]  2002-12-22 18:35 -------
confirmed on cooker, 2002-12-21



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
description: 
gnomemeeting crashes right after starting when there are no entries for the
mixer in the configuration. The following small patch fixes that:

--- sound_handling.cpp~ 2002-12-06 18:19:09.000000000 +0100
+++ sound_handling.cpp  2002-12-06 18:19:09.000000000 +0100
@@ -61,7 +61,7 @@
 #ifdef HAS_IXJ
   OpalLineInterfaceDevice *lid = NULL;
  
-  if (!strcmp (mixer, "/dev/phone0"))
+  if (mixer && !strcmp (mixer, "/dev/phone0"))
   {
     unsigned vol = 0;
  
@@ -110,7 +110,7 @@
 #ifdef HAS_IXJ
   OpalLineInterfaceDevice *lid = NULL;
  
-  if (!strcmp (mixer, "/dev/phone0")) {
+  if (mixer && !strcmp (mixer, "/dev/phone0")) {
  
     unsigned vol;
     if ((MyApp) && (MyApp->Endpoint ()))

Reply via email to