X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Flookups%2Flf_quote.c;h=6f4143d9f7d41bdc44dd58ccd18df40b6c9e818a;hb=25bd12fdff615275da6b811570b0f65d57ddc441;hp=1541d0d1602a4ea69c5fd9bb5bd8a718b9bac291;hpb=94e1f16d6033683bdebaf5092f64c58bc044dd2d;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/lookups/lf_quote.c b/src/src/lookups/lf_quote.c index 1541d0d16..6f4143d9f 100644 --- a/src/src/lookups/lf_quote.c +++ b/src/src/lookups/lf_quote.c @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2009 */ +/* Copyright (c) University of Cambridge 1995 - 2018 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -45,9 +45,8 @@ character. */ if (value[0] == 0 || Ustrpbrk(value, " \t\n\r") != NULL || value[0] == '\"') { - int j; 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);