last rewrite in rfc822parse.c
[apps/madmutt.git] / lib / debug.c
index 523d7c6..4d4d393 100644 (file)
@@ -41,15 +41,15 @@ void debug_start (const char* basedir) {
     return;
   /* rotate the old debug logs */
   for (i = 3; i >= 0; i--) {
-    snprintf (buf, sizeof (buf), "%s/.muttngdebug%d", NONULL (basedir), i);
-    snprintf (buf2, sizeof (buf2), "%s/.muttngdebug%d", NONULL (basedir), i + 1);
+    snprintf (buf, sizeof (buf), "%s/.madmuttdebug%d", NONULL (basedir), i);
+    snprintf (buf2, sizeof (buf2), "%s/.madmuttdebug%d", NONULL (basedir), i + 1);
     rename (buf, buf2);
   }
   if ((DebugFile = safe_fopen (buf, "w")) != NULL) {
     t = time (NULL);
     setbuf (DebugFile, NULL);   /* don't buffer the debugging output! */
     fprintf (DebugFile,
-             "Mutt-ng %s started at %s\nDebugging at level %d\n\n",
+             "Madmutt %s started at %s\nDebugging at level %d\n\n",
              MUTT_VERSION, asctime (localtime (&t)), DebugLevel);
   }
 }