* citedit() does not make use of the client's IPC context. Removing that parameter.
authorArt Cancro <ajc@citadel.org>
Thu, 4 Mar 2010 15:09:52 +0000 (15:09 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 4 Mar 2010 15:09:52 +0000 (15:09 +0000)
citadel/textclient/messages.c
citadel/textclient/messages.h

index 20ab408a060e8842f1e12e4405abb500fafa2ee1..2f463ffbe0cf08094f86e56acf9041536163db4b 100644 (file)
@@ -213,7 +213,7 @@ void add_word(struct cittext *textlist, char *wordbuf)
 /*
  * begin editing of an opened file pointed to by fp
  */
-void citedit(CtdlIPC *ipc, FILE * fp)
+void citedit(FILE *fp)
 {
        int a, prev, finished, b, last_space;
        int appending = 0;
@@ -919,7 +919,7 @@ ME1:        switch (mode) {
                                filename, strerror(errno));
                        return(1);
                }
-               citedit(ipc, fp);
+               citedit(fp);
                fclose(fp);
                goto MECR;
 
index 5b3e230f03e2977b3945512be551e28ea20af25c..7154cced0f4c6cfc17172405ba617cd856eb5ca0 100644 (file)
@@ -19,6 +19,6 @@ int client_make_message(CtdlIPC *ipc,
                                                int mode,
                                                char *subject,
                                                int subject_required);
-void citedit(CtdlIPC *ipc, FILE *);
+void citedit(FILE *);
 char *load_message_from_file(FILE *src);
 int file_checksum(char *filename);