Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
d02e8bf4
...
d02e8bf4ee35f5b1f81208b56b545e1f2d6ac2a9
authored
2010-04-08 14:37:40 +0300
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Minor change.
* mailbox/rfc2047.c: Minor style fix.
1 parent
1a374c8c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
mailbox/rfc2047.c
mailbox/rfc2047.c
View file @
d02e8bf
...
...
@@ -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
);
...
...
Please
register
or
sign in
to post a comment