From 9c7adc6f5394cb7bbd9b4d356f2efb1ed1299c4b Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sun, 24 Jun 2007 04:24:34 +0000 Subject: [PATCH] Adjusted ENT0 response to look for nonzero instead of a string for the 'subject required' function. --- webcit/messages.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webcit/messages.c b/webcit/messages.c index 61ce15f9d..ec460d498 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -2869,10 +2869,9 @@ void display_enter(void) return; } - if ((buf[3] != '\0') && - (buf[4] != '\0') && - !strncmp(&(buf[5]), "SUBJECTREQ", 10)) { - subject_required = 1; + /* Is the server strongly recommending that the user enter a message subject? */ + if ((buf[3] != '\0') && (buf[4] != '\0')) { + subject_required = extract_int(&buf[4], 1); } /** -- 2.39.2