aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/ChangeLog4
-rw-r--r--util/http.c4
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 <[email protected]>
+
+ * http.c (main): Fix test code for http-test.
+
2004-09-09 Werner Koch <[email protected]>
* 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;