]> mj.ucw.cz Git - libucw.git/blobdiff - lib/buckettool.c
Let bskip() return success.
[libucw.git] / lib / buckettool.c
index 396138af41c1a89808c569c32ff8d35c7f153b03..6458c539a1268ad342cdbcabc76b6967f3738ca2 100644 (file)
@@ -156,7 +156,7 @@ insert(byte *arg)
     die("Type `%s' is not a hexadecimal number");
   if (type < 10)
     type += BUCKET_TYPE_PLAIN;
-  attr_set_type(type);
+  put_attr_set_type(type);
 
   in = bfdopen_shared(0, 4096);
   obuck_init(1);
@@ -236,7 +236,7 @@ cat(void)
 
   obuck_init(0);
   out = bfdopen_shared(1, 65536);
-  while (b = obuck_slurp_pool(&h))
+  while (b = obuck_slurp_pool(&h, OBUCK_OID_ANY))
     {
       bprintf(out, "### %08x %6d %08x\n", h.oid, h.length, h.type);
       if (h.type < BUCKET_TYPE_V33 || !buck_buf)