summaryrefslogtreecommitdiff
path: root/libstore/kids.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-03-11 00:44:35 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-03-11 00:44:35 +0000
commit672565ab1de2548a3c89b968629faba17f854b16 (patch)
treeac5cfa24c4ec0bd8dcbb18ca37a98abfa4e1e771 /libstore/kids.c
parentaed44d5c014134a9d5f13d080192d10dfe5fccfd (diff)
2002-03-11 Marcus Brinkmann <marcus@gnu.org>
* stripe.c (store_concat_class): Add store_concat_open. (store_concat_create): Do not multiply NUM_STORES with 2 to get the number of runs. * kids.c (store_allocate_child_encodings): Call allocate_encoding on child store K, not on STORE. (store_encode_children): Likewise. * decode.c (store_std_leaf_decode): Increment ENC->cur_data by NAME_LEN and MISC_LEN as appropriate.
Diffstat (limited to 'libstore/kids.c')
-rw-r--r--libstore/kids.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstore/kids.c b/libstore/kids.c
index 1b9fa367..ceb80133 100644
--- a/libstore/kids.c
+++ b/libstore/kids.c
@@ -59,7 +59,7 @@ store_allocate_child_encodings (const struct store *store,
{
struct store *k = store->children[i];
if (k->class->allocate_encoding)
- (*k->class->allocate_encoding) (store, enc);
+ (*k->class->allocate_encoding) (k, enc);
else
err = EOPNOTSUPP;
}
@@ -77,7 +77,7 @@ store_encode_children (const struct store *store, struct store_enc *enc)
{
struct store *k = store->children[i];
if (k->class->encode)
- (*k->class->encode) (store, enc);
+ (*k->class->encode) (k, enc);
else
err = EOPNOTSUPP;
}