fix bug
This commit is contained in:
parent
824cec337d
commit
e27dab12a7
@ -340,9 +340,9 @@ char *www_email_display(struct user_record *user, int email) {
|
|||||||
for (i=0;i<strlen(body);i++) {
|
for (i=0;i<strlen(body);i++) {
|
||||||
if (body[i] == '\r') {
|
if (body[i] == '\r') {
|
||||||
sprintf(buffer, "<br />");
|
sprintf(buffer, "<br />");
|
||||||
} else if (body[z] == '<') {
|
} else if (body[i] == '<') {
|
||||||
sprintf(buffer, "<");
|
sprintf(buffer, "<");
|
||||||
} else if (body[z] == '>') {
|
} else if (body[i] == '>') {
|
||||||
sprintf(buffer, ">");
|
sprintf(buffer, ">");
|
||||||
} else {
|
} else {
|
||||||
sprintf(buffer, "%c", body[i]);
|
sprintf(buffer, "%c", body[i]);
|
||||||
|
Reference in New Issue
Block a user