From 1a72520f6076ce04e1d0f4200e334e5f78515202 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 31 Jan 2011 03:13:22 +0000 Subject: [PATCH] create directory for resume files --- examples/client_test.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 56d2f3517..284bfe04c 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -1061,6 +1061,11 @@ int main(int argc, char* argv[]) ++i; // skip the argument } + // create directory for resume files + create_directory(combine_path(save_path, ".resume/"), ec); + if (ec) + fprintf(stderr, "failed to create resume file directory: %s\n", ec.message().c_str()); + ses.start_lsd(); if (start_upnp) {