]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - src/src/routers/queryprogram.c
Use separate routine for translating return-codes to printable strings
[user/henk/code/exim.git] / src / src / routers / queryprogram.c
index 251b0b89f2d8cab2bb5a24e18eff106b131805f4..b4d229cd71c01c3ae2cfc15ca2d761198ee5548f 100644 (file)
@@ -2,7 +2,7 @@
 *     Exim - an Internet mail transport agent    *
 *************************************************/
 
-/* Copyright (c) University of Cambridge 1995 - 2017 */
+/* Copyright (c) University of Cambridge 1995 - 2018 */
 /* See the file NOTICE for conditions of use and distribution. */
 
 #include "../exim.h"
@@ -489,9 +489,9 @@ lookup_value = NULL;
 if (*s != 0)
   {
   transport_instance *transport;
-  for (transport = transports; transport != NULL; transport = transport->next)
+  for (transport = transports; transport; transport = transport->next)
     if (Ustrcmp(transport->name, s) == 0) break;
-  if (transport == NULL)
+  if (!transport)
     {
     addr->message = string_sprintf("unknown transport name %s yielded by "
       "command", s);