X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Flookups%2Fwhoson.c;h=8f065e60e038d9b34bc6cc01a1e167b4bbf9c7ff;hb=9d727701a16bf4a93b136fe01e1bf2e5996c96ee;hp=b4527a95cd6fab403f62b4545d559205cb2ac960;hpb=6545de78cb822ab5db97a2f16fe7a42cc9488bd8;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/lookups/whoson.c b/src/src/lookups/whoson.c index b4527a95c..8f065e60e 100644 --- a/src/src/lookups/whoson.c +++ b/src/src/lookups/whoson.c @@ -1,10 +1,8 @@ -/* $Cambridge: exim/src/src/lookups/whoson.c,v 1.5 2009/11/16 19:50:38 nm4 Exp $ */ - /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2009 */ +/* Copyright (c) University of Cambridge 1995 - 2015 */ /* See the file NOTICE for conditions of use and distribution. */ /* This code originally came from Robert Wal. */ @@ -38,7 +36,7 @@ return (void *)(1); /* Just return something non-null */ static int whoson_find(void *handle, uschar *filename, uschar *query, int length, - uschar **result, uschar **errmsg, BOOL *do_cache) + uschar **result, uschar **errmsg, uint *do_cache) { uschar buffer[80]; handle = handle; /* Keep picky compilers happy */ @@ -47,7 +45,7 @@ length = length; errmsg = errmsg; do_cache = do_cache; -switch (wso_query(query, CS buffer, sizeof(buffer))) +switch (wso_query(CS query, CS buffer, sizeof(buffer))) { case 0: *result = string_copy(buffer); /* IP in database; return name of user */