diff --git a/src/www_msgs.c b/src/www_msgs.c index 0633b8d..057f3d5 100644 --- a/src/www_msgs.c +++ b/src/www_msgs.c @@ -272,6 +272,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i char *replyid = NULL; char *body = NULL; char *body2 = NULL; + char *replybody = NULL; int z; struct tm msg_date; time_t date; @@ -284,7 +285,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i char *from_s; char *subject_s; char *to_s; - + int l1, l2; char *aha_text; char *aha_out; @@ -610,13 +611,26 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i strcat(page, buffer); len += strlen(buffer); + replybody = (char *)malloc(strlen(body) + 1); + + l2 = 0; + for (l1=0;l1