X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsrc%2Fdrtables.c;h=cd12dd1da8dc8350463e7a0741966b678b9ec1ec;hb=db3f7b6972f3b003c0413b78afcfbe295ffe0b97;hp=36bf64261521164fccabcd0ac95d62fe920d820a;hpb=7952eef9f77899f36b23f1b9fa679f459cd52ffd;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/drtables.c b/src/src/drtables.c index 36bf64261..cd12dd1da 100644 --- a/src/src/drtables.c +++ b/src/src/drtables.c @@ -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. */ @@ -119,7 +119,7 @@ auth_info auths_available[] = { { .driver_name = US"heimdal_gssapi", .options = auth_heimdal_gssapi_options, - .options_count &auth_heimdal_gssapi_options_count, + .options_count = &auth_heimdal_gssapi_options_count, .options_block = &auth_heimdal_gssapi_option_defaults, .options_len = sizeof(auth_heimdal_gssapi_options_block), .init = auth_heimdal_gssapi_init, @@ -177,9 +177,8 @@ auth_info auths_available[] = { void auth_show_supported(FILE * f) { -auth_info * ai; fprintf(f, "Authenticators:"); -for (ai = auths_available; ai->driver_name[0]; ai++) +for (auth_info * ai = auths_available; ai->driver_name[0]; ai++) fprintf(f, " %s", ai->driver_name); fprintf(f, "\n"); } @@ -346,9 +345,8 @@ router_info routers_available[] = { void route_show_supported(FILE * f) { -router_info * rr; fprintf(f, "Routers:"); -for (rr = routers_available; rr->driver_name[0]; rr++) +for (router_info * rr = routers_available; rr->driver_name[0]; rr++) fprintf(f, " %s", rr->driver_name); fprintf(f, "\n"); } @@ -766,10 +764,9 @@ init_lookup_list(void) /* now add all lookups to the real list */ p = lookupmodules; while (p) { - int j; struct lookupmodulestr *pnext; - for (j = 0; j < p->info->lookupcount; j++) + for (int j = 0; j < p->info->lookupcount; j++) add_lookup_to_list(p->info->lookups[j]); pnext = p->next;