fix eina_mempool env var fetch for eet alloc mode.
authorraster <raster>
Fri, 10 Aug 2012 12:42:08 +0000 (12:42 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 10 Aug 2012 12:42:08 +0000 (12:42 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@75098 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eet_alloc.c

index 1671ccd..310b1bf 100644 (file)
@@ -64,7 +64,7 @@ eet_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";