diff --git a/rhizome.c b/rhizome.c index 1eb9a0e8..a1b40102 100644 --- a/rhizome.c +++ b/rhizome.c @@ -43,6 +43,11 @@ int rhizome_bundle_import(rhizome_manifest *m_in, rhizome_manifest **m_out, cons WHYF("filename='%s'",filename); WHYF("manifestname='%s'",manifestname); + snprintf(filename,1024,"%s/import/file.%s",rhizome_datastore_path(),bundle); + snprintf(manifestname,1024,"%s/import/manifest.%s",rhizome_datastore_path(),bundle); + WHYF("PGS filename='%s'",filename); + WHYF("PGS manifestname='%s'",manifestname); + /* Read manifest file if no manifest was given */ rhizome_manifest *m = m_in; if (!m_in) { diff --git a/rhizome_database.c b/rhizome_database.c index 5321d394..f2661dc8 100644 --- a/rhizome_database.c +++ b/rhizome_database.c @@ -58,7 +58,7 @@ int rhizome_set_datastore_path(const char *path) int form_rhizome_datastore_path(char * buf, size_t bufsiz, const char *fmt, ...) { strbuf b = strbuf_local(buf, bufsiz); - strbuf_sprintf(b, "%s/", rhizome_datastore_path()); + strbuf_sprintf(b, "%s/", rhizome_datastore_path()); va_list ap; va_start(ap, fmt); va_list ap2;