X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/0a49a7a4f1090b6f1ce1d0f9d969804c9226b53e..a85c067ba6c6940512cf57ec213277a370d87e70:/src/src/auths/xtextdecode.c diff --git a/src/src/auths/xtextdecode.c b/src/src/auths/xtextdecode.c index b822e9c23..39c1f2b60 100644 --- a/src/src/auths/xtextdecode.c +++ b/src/src/auths/xtextdecode.c @@ -1,11 +1,11 @@ -/* $Cambridge: exim/src/src/auths/xtextdecode.c,v 1.5 2009/11/16 19:50:38 nm4 Exp $ */ - /************************************************* * Exim - an Internet mail transport agent * *************************************************/ +/* Copyright (c) The Exim Maintainers 2022 */ /* Copyright (c) University of Cambridge 1995 - 2009 */ /* See the file NOTICE for conditions of use and distribution. */ +/* SPDX-License-Identifier: GPL-2.0-only */ #include "../exim.h" @@ -35,7 +35,7 @@ int auth_xtextdecode(uschar *code, uschar **ptr) { register int x; -uschar *result = store_get(Ustrlen(code) + 1); +uschar * result = store_get(Ustrlen(code) + 1, code); *ptr = result; while ((x = (*code++)) != 0)