diff --git a/mail_menu.c b/mail_menu.c index a230cf7..cbbba96 100644 --- a/mail_menu.c +++ b/mail_menu.c @@ -283,7 +283,13 @@ char *external_editor(int socket, struct user_record *user, char *to, char *from // write msgtemp if (quote != NULL) { fptr = fopen(buffer, "w"); - fwrite(quote, strlen(quote), 1, fptr); + for (i=0;i