From 41d294f7bf4d0a4209f952b3764a2a195f953e57 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sat, 9 Apr 2016 15:29:11 +1000 Subject: [PATCH] Made email behave a bit more like messages --- email.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/email.c b/email.c index 5ba4d66..0e21924 100644 --- a/email.c +++ b/email.c @@ -118,6 +118,7 @@ void show_email(int socket, struct user_record *user, int msgno) { int lines; char c; char *replybody; + int chars; sprintf(buffer, "%s/email.sq3", conf.bbs_path); @@ -160,18 +161,22 @@ void show_email(int socket, struct user_record *user, int msgno) { s_putstring(socket, "\e[1;30m-------------------------------------------------------------------------------\e[0m\r\n"); lines = 0; + chars = 0; for (z=0;z