Rocco Rutte:
[apps/madmutt.git] / init.c
diff --git a/init.c b/init.c
index b9fbf58..40a488a 100644 (file)
--- a/init.c
+++ b/init.c
@@ -2290,6 +2290,7 @@ void mutt_init (int skip_sys_rc, LIST * commands)
 
     Realname = str_dup (mutt_gecos_name (rnbuf, sizeof (rnbuf), pw));
     Shell = str_dup (pw->pw_shell);
+    endpwent ();
   }
   else {
     if (!Homedir) {