From c2524e42992138f66a836d6c7ffe725a307c50d2 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Mon, 31 May 2004 23:47:55 +0000 Subject: [PATCH] cscvs to tla changeset 95 Author: noodles Date: 2003/09/29 07:35:26 Fix printf usage for an error message to logthing. --- parsekey.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/parsekey.c b/parsekey.c index a98e8cc..4829e3e 100644 --- a/parsekey.c +++ b/parsekey.c @@ -5,7 +5,7 @@ * * Copyright 2002 Project Purple * - * $Id: parsekey.c,v 1.9 2003/09/28 21:07:49 noodles Exp $ + * $Id: parsekey.c,v 1.10 2003/09/29 07:35:26 noodles Exp $ */ #include @@ -219,7 +219,9 @@ int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count, curpacket->packet->length += 192; } else if (curpacket->packet->length > 223 && curpacket->packet->length < 255) { - printf("Partial length; not supported.\n"); + logthing(LOGTHING_NOTICE, + "Partial length;" + " not supported.\n"); } else if (curpacket->packet->length == 255) { /* * 5 byte length; ie 255 followed by 3 -- 2.39.5