]> diplodocus.org Git - nmh/blobdiff - sbr/getfolder.c
Fix invalid pointer arithmetic.
[nmh] / sbr / getfolder.c
index 21db9a9828f2ad649461ecf4937c38293f672016..15ee8a70589f5a6d1f2bbbad2b10b9ca83feec22 100644 (file)
@@ -1,8 +1,8 @@
-
-/*
- * 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.
  */
 
 #include <h/mh.h>
@@ -11,7 +11,7 @@
 char *
 getfolder(int wantcurrent)
 {
-    register char *folder;
+    char *folder;
 
     /*
      * If wantcurrent == 1, then try the current folder first