fix passthrough getenv for eina mempool in ecore too.

SVN revision: 75099
This commit is contained in:
Carsten Haitzler 2012-08-10 12:50:09 +00:00
parent 78ca67dfd0
commit b8cc507c80
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ ecore_mempool_init(void)
mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 16);
if (!mempool_array[i]->mp)
{
if (!strcmp(choice, "pass_through"))
if (!(!strcmp(choice, "pass_through")))
{
ERR("Falling back to pass through ! Previously tried '%s' mempool.", choice);
choice = "pass_through";

View File

@ -72,7 +72,7 @@ ecore_con_mempool_init(void)
mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 16);
if (!mempool_array[i]->mp)
{
if (strcmp(choice, "pass_through") != 0)
if (!(!strcmp(choice, "pass_through")))
{
ERR("Falling back to pass through ! Previously tried '%s' mempool.", choice);
choice = "pass_through";