git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Constification
[exim.git]
/
src
/
src
/
rfc2047.c
diff --git
a/src/src/rfc2047.c
b/src/src/rfc2047.c
index 039c8493e54a42f07c28c70129dcb154c519ffd1..c3cf4db117dee7b63cf27937fc0649aaab246b42 100644
(file)
--- a/
src/src/rfc2047.c
+++ b/
src/src/rfc2047.c
@@
-3,6
+3,7
@@
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
+/* Copyright (c) The Exim Maintainers 2020 */
/* See the file NOTICE for conditions of use and distribution. */
/* This file contains a function for decoding message header lines that may
/* See the file NOTICE for conditions of use and distribution. */
/* This file contains a function for decoding message header lines that may
@@
-185,8
+186,8
@@
Returns: the decoded, converted string, or NULL on error; if there are
*/
uschar *
*/
uschar *
-rfc2047_decode2(uschar *string, BOOL lencheck,
uschar *target, int zeroval
,
- int *lenptr, int *sizeptr, uschar **error)
+rfc2047_decode2(uschar *string, BOOL lencheck,
const uschar *target
,
+ int
zeroval, int
*lenptr, int *sizeptr, uschar **error)
{
int size = Ustrlen(string);
size_t dlen;
{
int size = Ustrlen(string);
size_t dlen;
@@
-335,7
+336,7
@@
return string_from_gstring(yield);
argument. */
uschar *
argument. */
uschar *
-rfc2047_decode(uschar *string, BOOL lencheck, uschar *target, int zeroval,
+rfc2047_decode(uschar *string, BOOL lencheck,
const
uschar *target, int zeroval,
int *lenptr, uschar **error)
{
return rfc2047_decode2(string, lencheck, target, zeroval, lenptr, NULL, error);
int *lenptr, uschar **error)
{
return rfc2047_decode2(string, lencheck, target, zeroval, lenptr, NULL, error);