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
Copyright updates:
[exim.git]
/
src
/
src
/
auths
/
xtextdecode.c
diff --git
a/src/src/auths/xtextdecode.c
b/src/src/auths/xtextdecode.c
index 5312acf351ffb07a5c825183383113c1355ac8b2..d261801ae52687051cb6996a6041a3ac73117117 100644
(file)
--- a/
src/src/auths/xtextdecode.c
+++ b/
src/src/auths/xtextdecode.c
@@
-2,8
+2,10
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
+/* Copyright (c) The Exim Maintainers 2022 - 2023 */
/* Copyright (c) University of Cambridge 1995 - 2009 */
/* See the file NOTICE for conditions of use and distribution. */
/* Copyright (c) University of Cambridge 1995 - 2009 */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#include "../exim.h"
#include "../exim.h"
@@
-30,10
+32,10
@@
Returns: the number of bytes in the result, excluding the final zero;
*/
int
*/
int
-auth_xtextdecode(uschar *
code, uschar **
ptr)
+auth_xtextdecode(uschar *
code, uschar **
ptr)
{
{
-
register
int x;
-uschar *
result = store_get(Ustrlen(code) + 1
);
+int x;
+uschar *
result = store_get(Ustrlen(code) + 1, code
);
*ptr = result;
while ((x = (*code++)) != 0)
*ptr = result;
while ((x = (*code++)) != 0)