* more of the same
authorArt Cancro <ajc@citadel.org>
Fri, 19 Jul 2002 02:33:40 +0000 (02:33 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 19 Jul 2002 02:33:40 +0000 (02:33 +0000)
citadel/citadel_ipc.h
citadel/rooms.c

index 62cde1efd1663689f60eaa36cf70be332df5178b..f2a905eb2230d3a4706eed44f28e2aa7ea51147c 100644 (file)
@@ -20,18 +20,18 @@ struct parts {
        char number[16];                /* part number */
        char name[PATH_MAX];            /* Name */
        char filename[PATH_MAX];        /* Suggested filename */
-       char mimetype[256];             /* MIME type */
-       char disposition[256];          /* Content disposition */
+       char mimetype[SIZ];             /* MIME type */
+       char disposition[SIZ];          /* Content disposition */
        unsigned long length;           /* Content length */
 };
 
 
 struct ctdlipcmessage {
-       char msgid[256];                /* Original message ID */
-       char path[256];                 /* Return path to sender */
-       char zaps[256];                 /* Message ID that this supersedes */
-       char subject[256];              /* Message subject */
-       char email[256];                /* Email address of sender */
+       char msgid[SIZ];                /* Original message ID */
+       char path[SIZ];                 /* Return path to sender */
+       char zaps[SIZ];                 /* Message ID that this supersedes */
+       char subject[SIZ];              /* Message subject */
+       char email[SIZ];                /* Email address of sender */
        char author[USERNAME_SIZE];     /* Sender of message */
        char recipient[USERNAME_SIZE];  /* Recipient of message */
        char room[ROOMNAMELEN];         /* Originating room */
index 00291b3b09d8584ac0bfb049a4c8d7597de056f6..74f6451d515e6dde16e418fd2414e56756f76a94 100644 (file)
@@ -574,7 +574,6 @@ void editthisroom(void)
 void ungoto(void)
 {
        char buf[SIZ];
-       int r;                          /* IPC response code */
 
        if (uglistsize == 0)
                return;