From 5494eb1bb693c008daf52bd56ca9f88d6977e2f1 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Fri, 10 Sep 2004 18:56:52 +0000 Subject: * http.c (main): Fix test code for http-test. --- util/ChangeLog | 4 ++++ util/http.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/util/ChangeLog b/util/ChangeLog index bc0433dbf..f7561248b 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,7 @@ +2004-09-10 David Shaw + + * http.c (main): Fix test code for http-test. + 2004-09-09 Werner Koch * errors.c (g10_errstr): New error codes G10ERR_NO_CARD, diff --git a/util/http.c b/util/http.c index 64fca453f..531f6a895 100644 --- a/util/http.c +++ b/util/http.c @@ -619,7 +619,7 @@ parse_response( HTTP_HD hd ) return 0; } -#if 0 +#ifdef TEST static int start_server() { @@ -943,7 +943,7 @@ main(int argc, char **argv) } release_parsed_uri( uri ); uri = NULL; - rc = http_open_document( &hd, *argv, 0 ); + rc = http_open_document( &hd, *argv, 0, NULL ); if( rc ) { log_error("can't get `%s': %s\n", *argv, g10_errstr(rc)); return 1; -- cgit v1.2.3