Commit 40acb871 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

oops: forgot to add and amend this to the previous commit

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -1527,7 +1527,7 @@ void init_operating_dir(void) ...@@ -1527,7 +1527,7 @@ void init_operating_dir(void)
if (full_operating_dir == NULL || chdir(full_operating_dir) == -1) if (full_operating_dir == NULL || chdir(full_operating_dir) == -1)
die("Invalid operating directory\n"); die("Invalid operating directory\n");
snuggly_fit(full_operating_dir); snuggly_fit(&full_operating_dir);
} }
/* Check to see if we're inside the operating directory. Return FALSE /* Check to see if we're inside the operating directory. Return FALSE
...@@ -1618,7 +1618,7 @@ void init_backup_dir(void) ...@@ -1618,7 +1618,7 @@ void init_backup_dir(void)
} else { } else {
free(backup_dir); free(backup_dir);
backup_dir = full_backup_dir; backup_dir = full_backup_dir;
snuggly_fit(backup_dir); snuggly_fit(&backup_dir);
} }
} }
#endif /* !NANO_TINY */ #endif /* !NANO_TINY */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment