summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-08-10 12:50:09 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-08-10 12:50:09 +0000
commitb8cc507c803098ddd845285dc7a040f20df2b7d9 (patch)
tree3a8829a8219e38601581db9c1507b4389e707871
parent78ca67dfd088355f92408cca4ae7d0e50567982e (diff)
fix passthrough getenv for eina mempool in ecore too.
SVN revision: 75099
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_alloc.c2
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_alloc.c b/legacy/ecore/src/lib/ecore/ecore_alloc.c
index c9e77cdc4b..58aa131ddc 100644
--- a/legacy/ecore/src/lib/ecore/ecore_alloc.c
+++ b/legacy/ecore/src/lib/ecore/ecore_alloc.c
@@ -102,7 +102,7 @@ ecore_mempool_init(void)
102 mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 16); 102 mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 16);
103 if (!mempool_array[i]->mp) 103 if (!mempool_array[i]->mp)
104 { 104 {
105 if (!strcmp(choice, "pass_through")) 105 if (!(!strcmp(choice, "pass_through")))
106 { 106 {
107 ERR("Falling back to pass through ! Previously tried '%s' mempool.", choice); 107 ERR("Falling back to pass through ! Previously tried '%s' mempool.", choice);
108 choice = "pass_through"; 108 choice = "pass_through";
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c b/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c
index 68f24ccb32..324d47d100 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c
@@ -72,7 +72,7 @@ ecore_con_mempool_init(void)
72 mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 16); 72 mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 16);
73 if (!mempool_array[i]->mp) 73 if (!mempool_array[i]->mp)
74 { 74 {
75 if (strcmp(choice, "pass_through") != 0) 75 if (!(!strcmp(choice, "pass_through")))
76 { 76 {
77 ERR("Falling back to pass through ! Previously tried '%s' mempool.", choice); 77 ERR("Falling back to pass through ! Previously tried '%s' mempool.", choice);
78 choice = "pass_through"; 78 choice = "pass_through";