From: Enlightenment S. <no-...@en...> - 2011-11-10 23:21:22
|
Log: Properly check for empty string Author: sachiel Date: 2011-11-10 15:21:15 -0800 (Thu, 10 Nov 2011) New Revision: 65034 Trac: http://trac.enlightenment.org/e/changeset/65034 Modified: trunk/ecore/src/lib/ecore_con/ecore_con_alloc.c Modified: trunk/ecore/src/lib/ecore_con/ecore_con_alloc.c =================================================================== --- trunk/ecore/src/lib/ecore_con/ecore_con_alloc.c 2011-11-10 19:27:42 UTC (rev 65033) +++ trunk/ecore/src/lib/ecore_con/ecore_con_alloc.c 2011-11-10 23:21:15 UTC (rev 65034) @@ -61,7 +61,7 @@ unsigned int i; choice = getenv("EINA_MEMPOOL"); - if (!choice || choice[0]) + if (!choice || !choice[0]) choice = "chained_mempool"; for (i = 0; i < sizeof (mempool_array) / sizeof (mempool_array[0]); ++i) |