]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/mmalloc/mm_legacy.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't list the possible routings in DTD. We want to add more w/o changing the DTD
[simgrid.git] / src / xbt / mmalloc / mm_legacy.c
index 002d9c54da4d3d1a5cecbd7febf867b7968c48cf..d3c6cb731adc7fc13df25a8de83ad0d54eb224ec 100644 (file)
@@ -117,7 +117,7 @@ XBT_ATTRIB_CONSTRUCTOR(101) static void mm_legacy_constructor()
   if (mm_initialized)
     return;
   mm_initializing = 1;
-  __malloc_use_mmalloc = getenv(MC_ENV_VARIABLE) ? 1 : 0;
+  __malloc_use_mmalloc = getenv(MC_ENV_SOCKET_FD) ? 1 : 0;
   if (__malloc_use_mmalloc) {
     __mmalloc_current_heap = mmalloc_preinit();
   } else {