messages.c: fixed an oversight that was allowing attachments even
authorArt Cancro <ajc@citadel.org>
Sun, 25 Oct 1998 19:58:18 +0000 (19:58 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 25 Oct 1998 19:58:18 +0000 (19:58 +0000)
          when disabled in citadel.rc

citadel/ChangeLog
citadel/messages.c

index 6a321cdae67e8335d8ed0fb01c98de0eecb4a550..1b0bf7fe8be353dabd94817f9be05f15aab6ff2d 100644 (file)
@@ -1,3 +1,7 @@
+Sun Oct 25 14:57:40 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
+       * messages.c: fixed an oversight that was allowing attachments even
+         when disabled in citadel.rc
+
 1998-10-25 Nathan Bryant <bryant@cs.usm.maine.edu>
        * routines2.c: warning fix
 
index 99258049f1465d943a17d690864e9656a6d1545a..a3c6326bdc94f636c9d882322aa3a5b4bc360be0 100644 (file)
@@ -666,8 +666,7 @@ MECR2:      b=inkey();
                printf("Hold message\n");
                return(2);
                }
-       /* if ((b=='f')&&(rc_allow_attachments==1)) { */
-       if (b=='f') {
+       if ((b=='f')&&(rc_allow_attachments==1)) {
                printf("attach File\n");
                if (strlen(boundary)==0) {
                        sprintf(boundary, "Citadel-Attachment-%ld.%d",