bugfix in the CDB initialization from the external interface
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLT_C_Component_WrapperInterface.cxx
index e4329d96659bcdba214ff22cafaa387ba9f040b8..9f009c1285cea486edf8ce67e8391d86e4501059 100644 (file)
@@ -93,7 +93,7 @@ int AliHLT_C_CreateComponent( const char* componentType, void* environ_param, in
   if (comp) {
     const char* cdbPath = getenv("ALIHLT_HCDBDIR");
     if (!cdbPath) cdbPath = getenv("ALICE_ROOT");
-    if (cdbPath) comp->InitCDB(cdbPath);
+    if (cdbPath) comp->InitCDB(cdbPath, gComponentHandler_C);
   }
   *handle = reinterpret_cast<AliHLTComponentHandle>( comp );