projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
FOREVER is of very bad taste, use for (;;)
[apps/madmutt.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index
5457e65
..
9ff0deb
100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-45,7
+45,7
@@
char *mutt_read_rfc822_line (FILE * f, char *line, size_t * linelen)
char ch;
size_t offset = 0;
-
FOREVER
{
+
for (;;)
{
if (fgets (buf, *linelen - offset, f) == NULL || /* end of file or */
(ISSPACE (*line) && !offset)) { /* end of headers */
*line = 0;