Here's a shorter patch, but I'll apply it when I'm less drunk:

diff --git a/src/main.c b/src/main.c
index 347d300..8bca873 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1130,7 +1130,7 @@ _("library directory.")));
   (void) read_config (SYSCONFDIR, "enscriptsite.cfg");
 
   /* Personal config. */
-  (void) read_config (passwd->pw_dir, ".enscriptrc");
+  (void) read_config (cp, ".enscriptrc");
 
   /*
    * Options.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to