tRemoving a double declaration. - rohrpost - A commandline mail client to change the world as we see it.
(HTM) git clone git://r-36.net/rohrpost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit b8259cc0072f37e5f63608e8c01502b9176fa836
(DIR) parent 2416ddc611055cea5e0d7d56515a10cbadae1feb
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Thu, 27 Dec 2012 21:31:00 +0100
Removing a double declaration.
Diffstat:
mime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/mime.c b/mime.c
t@@ -828,7 +828,7 @@ mime_parsebufintern(mime_t *mime, char *str, int len)
rp = str;
p = str;
- for (rp = str, p = str; (rp = sgets(buf, sizeof(buf)-1, &p));) {
+ for (; (rp = sgets(buf, sizeof(buf)-1, &p));) {
blen = strlen(buf);
if (buf[blen-1] == '\r')
buf[blen-1] = '\0';