]> diplodocus.org Git - nmh/blobdiff - sbr/getfolder.c
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / sbr / getfolder.c
index 544a144e7c88b74750132bf60bee4ef816edb54c..c9ed2ee30b1e896d6aceb9c0d76fdef0cb9eccaf 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * getfolder.c -- get the current or default folder
  *
 /*
  * getfolder.c -- get the current or default folder
  *
- * $Id$
- *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
@@ -15,7 +13,7 @@
 char *
 getfolder(int wantcurrent)
 {
 char *
 getfolder(int wantcurrent)
 {
-    register char *folder;
+    char *folder;
 
     /*
      * If wantcurrent == 1, then try the current folder first
 
     /*
      * If wantcurrent == 1, then try the current folder first