X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/600127f0c8669936093fc6bddda5a2dcb59cd076..f7c19c5b761808de4ec198765ea7608293706a91:/keycheck.c diff --git a/keycheck.c b/keycheck.c index 2ced761..0025f98 100644 --- a/keycheck.c +++ b/keycheck.c @@ -1,13 +1,13 @@ /* -*-c-*- * - * $Id: keycheck.c,v 1.1 2001/02/03 16:08:24 mdw Exp $ + * $Id: keycheck.c,v 1.3 2004/04/08 01:36:15 mdw Exp $ * * Framework for checking consistency of keys * * (c) 2001 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of Catacomb. * @@ -15,26 +15,18 @@ * it under the terms of the GNU Library General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. - * + * * Catacomb is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. - * + * * You should have received a copy of the GNU Library General Public * License along with Catacomb; if not, write to the Free * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: keycheck.c,v $ - * Revision 1.1 2001/02/03 16:08:24 mdw - * Add consistency checking for public keys. - * - */ - /*----- Header files ------------------------------------------------------*/ #include @@ -65,11 +57,11 @@ int keycheck_report(keycheck *kc, unsigned sev, const char *msg, ...) kc->sev[sev]++; va_start(ap, msg); - dstr_vputf(&d, msg, ap); + dstr_vputf(&d, msg, &ap); va_end(ap); rc = kc->func ? kc->func(sev, d.buf, kc->p) : 0; dstr_destroy(&d); - return (rc); + return (rc); } /* --- @keycheck_init@ --- *