summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-04-08 14:37:40 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-04-08 22:02:17 +0300
commitd02e8bf4ee35f5b1f81208b56b545e1f2d6ac2a9 (patch)
tree4a2eaffeeed0ac365b3bf7d37f8633bbeff3e28d
parent1a374c8cbea21dabe2f7db123a559576531238db (diff)
downloadmailutils-d02e8bf4ee35f5b1f81208b56b545e1f2d6ac2a9.tar.gz
mailutils-d02e8bf4ee35f5b1f81208b56b545e1f2d6ac2a9.tar.bz2
Minor change.
* mailbox/rfc2047.c: Minor style fix.
-rw-r--r--mailbox/rfc2047.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/mailbox/rfc2047.c b/mailbox/rfc2047.c
index 77d02e557..ba11d5808 100644
--- a/mailbox/rfc2047.c
+++ b/mailbox/rfc2047.c
@@ -192,18 +192,18 @@ mu_rfc2047_decode (const char *tocode, const char *input, char **ptostr)
{
if (--run_count)
{
- CHKBUF(run_count);
+ CHKBUF (run_count);
memcpy (buffer + bufpos, fromstr - run_count, run_count);
bufpos += run_count;
run_count = 0;
}
- CHKBUF(1);
+ CHKBUF (1);
buffer[bufpos++] = *fromstr++;
}
}
else
{
- CHKBUF(1);
+ CHKBUF (1);
buffer[bufpos++] = *fromstr++;
}
}
@@ -211,12 +211,12 @@ mu_rfc2047_decode (const char *tocode, const char *input, char **ptostr)
if (*fromstr)
{
size_t len = strlen (fromstr);
- CHKBUF(len);
- memcpy (buffer + bufpos, fromstr, strlen (fromstr));
- bufpos += strlen (fromstr);
+ CHKBUF (len);
+ memcpy (buffer + bufpos, fromstr, len);
+ bufpos += len;
}
- CHKBUF(1);
+ CHKBUF (1);
buffer[bufpos++] = 0;
free (fromcode);

Return to:

Send suggestions and report system problems to the System administrator.