From 598bf9199e89a53bc0ffd2e32141a42d5ec85184 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 15 Oct 2009 17:20:41 +0000 Subject: Reworked the server commands. Track mounts. --create does now work as expected. --- g13/create.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'g13/create.c') diff --git a/g13/create.c b/g13/create.c index 0279c337d..9de9edc0b 100644 --- a/g13/create.c +++ b/g13/create.c @@ -231,6 +231,7 @@ g13_create_container (ctrl_t ctrl, const char *filename) char *detachedname = NULL; int detachedisdir; tupledesc_t tuples = NULL; + unsigned int dummy_rid; /* A quick check to see that no container with that name already exists. */ @@ -304,7 +305,8 @@ g13_create_container (ctrl_t ctrl, const char *filename) /* Create and append the container. FIXME: We should pass the estream object in addition to the filename, so that the backend can append the container to the g13 file. */ - err = be_create_container (ctrl, ctrl->conttype, filename, -1, tuples); + err = be_create_container (ctrl, ctrl->conttype, filename, -1, tuples, + &dummy_rid); leave: -- cgit