X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/ee25093663e5a72df66ba5b2c2934ea844a12133..5bfe3b3511e3e4f0ef0be45231cedf661d877b45:/src/src/exim.c?ds=sidebyside diff --git a/src/src/exim.c b/src/src/exim.c index e15864839..d22c9b125 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -3196,10 +3196,10 @@ for (i = 1; i < argc; i++) which sets the host protocol and host name */ if (*argrest == 0) - { - if (i+1 < argc) argrest = argv[++i]; else + if (i+1 < argc) + argrest = argv[++i]; + else { badarg = TRUE; break; } - } if (*argrest != 0) { @@ -3213,9 +3213,7 @@ for (i = 1; i < argc; i++) hn = Ustrchr(argrest, ':'); if (hn == NULL) - { received_protocol = argrest; - } else { int old_pool = store_pool;