ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/src prefs_window.c,1.1,1.2


From: Philip S Tellis <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src prefs_window.c,1.1,1.2
Date: Wed, 05 Feb 2003 01:39:48 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv32223/src

Modified Files:
        prefs_window.c 
Log Message:
plugin prefs fix

Index: prefs_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/prefs_window.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- prefs_window.c      3 Feb 2003 11:11:26 -0000       1.1
+++ prefs_window.c      5 Feb 2003 06:39:42 -0000       1.2
@@ -2179,6 +2179,7 @@
  */
  
 enum {
+       CORE_PREF,
        PLUGIN_PREF,
        SERVICE_PREF
 };
@@ -2218,12 +2219,12 @@
                if(feof(fp))
                        break;
                g_strstrip(param);
-               pref_type=0;
+               pref_type=CORE_PREF;
                if(!strcasecmp(buff, "plugins"))
                        pref_type=PLUGIN_PREF;
                else if(!strcasecmp(buff, "connections"))
                        pref_type=SERVICE_PREF;
-               if(pref_type!=0)
+               if(pref_type!=CORE_PREF)
                {
                        for(;;)
                        {
@@ -2307,7 +2308,7 @@
                                }
                        }
                        continue;
-               } /* if(pref_type !=0) */
+               } /* if(pref_type != CORE_PREF) */
                val=param;
 
                while(*val != 0 && *val !='=')
@@ -2318,6 +2319,9 @@
                        val++;
                }
                cSetLocalPref(param, val);
+               /* enable debugging as soon as possible */
+               if(!strcasecmp(param, "do_ayttm_debug"))
+                       do_ayttm_debug = iGetLocalPref("do_ayttm_debug");
        }
        
        /* general prefs */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]