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
SPDX: license tags (mostly by guesswork)
[exim.git]
/
src
/
src
/
lookups
/
lf_quote.c
diff --git
a/src/src/lookups/lf_quote.c
b/src/src/lookups/lf_quote.c
index 83eac33b24270aa6c4c41581a690341ae14c2e6b..816fe01e2d1083a819f93520fdc69a4b790ce331 100644
(file)
--- a/
src/src/lookups/lf_quote.c
+++ b/
src/src/lookups/lf_quote.c
@@
-2,8
+2,9
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 201
7
*/
+/* Copyright (c) University of Cambridge 1995 - 201
8
*/
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-only */
#include "../exim.h"
#include "../exim.h"
@@
-45,9
+46,8
@@
character. */
if (value[0] == 0 || Ustrpbrk(value, " \t\n\r") != NULL || value[0] == '\"')
{
if (value[0] == 0 || Ustrpbrk(value, " \t\n\r") != NULL || value[0] == '\"')
{
- int j;
result = string_catn(result, US"\"", 1);
result = string_catn(result, US"\"", 1);
- for (j = 0; j < vlength; j++)
+ for (
int
j = 0; j < vlength; j++)
{
if (value[j] == '\"' || value[j] == '\\')
result = string_catn(result, US"\\", 1);
{
if (value[j] == '\"' || value[j] == '\\')
result = string_catn(result, US"\\", 1);