Explorar el Código

ncd: modules: log: fix assertion failure from BLog API changes

ambrop7 hace 13 años
padre
commit
e723832c13
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      ncd/modules/log.c

+ 2 - 0
ncd/modules/log.c

@@ -104,6 +104,8 @@ static void do_log (int level, NCDValRef list, size_t start)
     
     
     size_t count = NCDVal_ListCount(list);
     size_t count = NCDVal_ListCount(list);
     
     
+    BLog_Begin();
+    
     for (size_t j = start; j < count; j++) {
     for (size_t j = start; j < count; j++) {
         NCDValRef string = NCDVal_ListGet(list, j);
         NCDValRef string = NCDVal_ListGet(list, j);
         ASSERT(NCDVal_IsString(string))
         ASSERT(NCDVal_IsString(string))