From 40acb8714c3f04f296c32e7c61d33f820a465185 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Sun, 18 Dec 2016 11:12:04 +0100
Subject: [PATCH] oops: forgot to add and amend this to the previous commit

---
 src/files.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/files.c b/src/files.c
index 80fbefeb..d187301e 100644
--- a/src/files.c
+++ b/src/files.c
@@ -1527,7 +1527,7 @@ void init_operating_dir(void)
     if (full_operating_dir == NULL || chdir(full_operating_dir) == -1)
 	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
@@ -1618,7 +1618,7 @@ void init_backup_dir(void)
     } else {
 	free(backup_dir);
 	backup_dir = full_backup_dir;
-	snuggly_fit(backup_dir);
+	snuggly_fit(&backup_dir);
     }
 }
 #endif /* !NANO_TINY */
-- 
GitLab