evolution-data-server r9253 - trunk/camel



Author: sragavan
Date: Mon Aug  4 04:09:08 2008
New Revision: 9253
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9253&view=rev

Log:
2008-08-04  Srinivasa Ragavan  <sragavan novell com>

	* camel/camel-string-utils.c: Disable debug crashers.


Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-string-utils.c

Modified: trunk/camel/camel-string-utils.c
==============================================================================
--- trunk/camel/camel-string-utils.c	(original)
+++ trunk/camel/camel-string-utils.c	Mon Aug  4 04:09:08 2008
@@ -276,7 +276,7 @@
 		if (count == 0) {
 			g_hash_table_remove(pstring_table, p);
 			g_free(p);
-			if (!g_getenv("CDS_DEBUG")) { 
+			if (g_getenv("CDS_DEBUG")) { 
 				if (p != s) /* Only for debugging purposes */
 					g_assert(0);
 			}
@@ -284,7 +284,7 @@
 			g_hash_table_insert(pstring_table, p, GINT_TO_POINTER(count));
 		}
 	} else {
-		if (!g_getenv("CDS_DEBUG")) {
+		if (g_getenv("CDS_DEBUG")) {
 			g_warning("Trying to free string not allocated from the pool '%s'", s);
 			/*Only for debugging purposes */
 			g_assert (0);



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