* Message-ID: rfc822 fix
authorArt Cancro <ajc@citadel.org>
Tue, 2 Nov 1999 02:24:54 +0000 (02:24 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 2 Nov 1999 02:24:54 +0000 (02:24 +0000)
citadel/msgbase.c

index dd814337d5aaf3fc86831d18a7575a03fa7932f4..fd8b92219135bc3f0fc4ddbf50e765d5981d8b56 100644 (file)
@@ -745,6 +745,7 @@ void output_message(char *msgid, int mode, int headers_only)
        /*                                       */
 
        msg_num = atol(msgid);
+       safestrncpy(mid, msgid, sizeof mid);
 
        if ((!(CC->logged_in)) && (!(CC->internal_pgm))) {
                cprintf("%d Not logged in.\n", ERROR + NOT_LOGGED_IN);