X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/96f8f12e212bb3a98f2b1e9ab94a916a62ebd68b..7f859392553419843336ac59ef2e98bafc2681bc:/src/src/routers/manualroute.c diff --git a/src/src/routers/manualroute.c b/src/src/routers/manualroute.c index 471b38566..01802714f 100644 --- a/src/src/routers/manualroute.c +++ b/src/src/routers/manualroute.c @@ -259,7 +259,7 @@ if (ob->route_list) int sep = -(';'); /* Default is semicolon */ listptr = ob->route_list; - while ((route_item = string_nextinlist(&listptr, &sep, NULL, 0)) != NULL) + while ((route_item = string_nextinlist(&listptr, &sep, NULL, 0))) { int rc; @@ -468,7 +468,7 @@ if (!addr->host_list) defined for these hosts. It will be a remote one, as a local transport is dealt with above. However, we don't need one if verifying only. */ -if (transport == NULL && verify == v_none) +if (!transport && verify == v_none) { log_write(0, LOG_MAIN, "Error in %s router: no transport defined", rblock->name);