David Rose 16 år sedan
förälder
incheckning
17454474fb
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      direct/src/plugin/mkdir_complete.cxx

+ 1 - 1
direct/src/plugin/mkdir_complete.cxx

@@ -72,7 +72,7 @@ mkdir_complete(const string &dirname, ostream &logfile) {
   if (last_error == ERROR_PATH_NOT_FOUND) {
   if (last_error == ERROR_PATH_NOT_FOUND) {
     // We need to make the parent directory first.
     // We need to make the parent directory first.
     string parent = get_dirname(dirname);
     string parent = get_dirname(dirname);
-    if (!parent.empty() && mkdir_complete(parent)) {
+    if (!parent.empty() && mkdir_complete(parent, logfile)) {
       // Parent successfully created.  Try again to make the child.
       // Parent successfully created.  Try again to make the child.
       if (CreateDirectory(dirname.c_str(), NULL) != 0) {
       if (CreateDirectory(dirname.c_str(), NULL) != 0) {
         // Got it!
         // Got it!