projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e29541
)
Adjusted ENT0 response to look for nonzero instead of
author
Art Cancro
<ajc@citadel.org>
Sun, 24 Jun 2007 04:24:34 +0000
(
04:24
+0000)
committer
Art Cancro
<ajc@citadel.org>
Sun, 24 Jun 2007 04:24:34 +0000
(
04:24
+0000)
a string for the 'subject required' function.
webcit/messages.c
patch
|
blob
|
history
diff --git
a/webcit/messages.c
b/webcit/messages.c
index 61ce15f9dfe250238828233c058f9a1fd242278c..ec460d4981f5c2bed1d7ee99744717d1e62cb9ed 100644
(file)
--- 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);
}
/**