X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fparse.c;h=53d660869d7077413ad54abab15bee57dfab6355;hb=4f7a93c27e3d43b44c42d3fc503f03b9b42ca622;hp=3a7a4f18a7e52f33ce4de6fad7e5b50960902087;hpb=4191cb150300d310ab5fa22ce2cfb02b6f6051b0;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/parse.c b/src/src/parse.c index 3a7a4f18a..53d660869 100644 --- a/src/src/parse.c +++ b/src/src/parse.c @@ -2,9 +2,10 @@ * Exim - an Internet mail transport agent * *************************************************/ +/* Copyright (c) The Exim Maintainers 2020 - 2022 */ /* Copyright (c) University of Cambridge 1995 - 2018 */ -/* Copyright (c) The Exim Maintainers 2020 - 2021 */ /* See the file NOTICE for conditions of use and distribution. */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* Functions for parsing addresses */ @@ -658,7 +659,7 @@ followed by a route-addr (more words must follow). */ if (*s != '@' && *s != '<') { - if (*s == 0 || *s == ';') + if (!*s || *s == ';') { if (!*t) FAILED(US"empty address"); endptr = last_comment_position;