forked from enlightenment/efl
fix passthrough getenv for eina mempool in ecore too.
SVN revision: 75099
This commit is contained in:
parent
78ca67dfd0
commit
b8cc507c80
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue