From 0748b6620fc5dbe0d3a73ae04901164bf2ad5f84 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sat, 20 Aug 2016 14:09:52 +1000 Subject: [PATCH] include enctype in forms --- www_email.c | 4 ++-- www_msgs.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/www_email.c b/www_email.c index 6197e90..580dd98 100644 --- a/www_email.c +++ b/www_email.c @@ -160,7 +160,7 @@ char *www_new_email() { strcat(page, buffer); len += strlen(buffer); - sprintf(buffer, "
\n"); + sprintf(buffer, "\n"); if (len + strlen(buffer) > max_len - 1) { max_len += 4096; page = (char *)realloc(page, max_len); @@ -358,7 +358,7 @@ char *www_email_display(struct user_record *user, int email) { strcat(page, buffer); len += strlen(buffer); - sprintf(buffer, "\n"); + sprintf(buffer, "\n"); if (len + strlen(buffer) > max_len - 1) { max_len += 4096; page = (char *)realloc(page, max_len); diff --git a/www_msgs.c b/www_msgs.c index 493399c..aacf505 100644 --- a/www_msgs.c +++ b/www_msgs.c @@ -417,7 +417,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i strcat(page, buffer); len += strlen(buffer); - sprintf(buffer, "\n"); + sprintf(buffer, "\n"); if (len + strlen(buffer) > max_len - 1) { max_len += 4096; page = (char *)realloc(page, max_len); @@ -727,7 +727,7 @@ char *www_new_msg(struct user_record *user, int conference, int area) { strcat(page, buffer); len += strlen(buffer); - sprintf(buffer, "\n"); + sprintf(buffer, "\n"); if (len + strlen(buffer) > max_len - 1) { max_len += 4096; page = (char *)realloc(page, max_len);