]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/conf-intr.c
LibUCW: Fixed broken DARY_ALLOC() on 64bit architectures.
[libucw.git] / ucw / conf-intr.c
index f42265102593beda40bd62136f0983cd3c831784..a5d323253a42a3eedc06e71f0f7b77622fdde358 100644 (file)
@@ -652,11 +652,7 @@ cf_init_stack(struct cf_context *cc)
 }
 
 int
-cf_check_stack(struct cf_context *cc)
+cf_done_stack(struct cf_context *cc)
 {
-  if (cc->stack_level > 0) {
-    msg(L_ERROR, "Unterminated block");
-    return 1;
-  }
-  return 0;
+  return (cc->stack_level > 0);
 }