diff options
author | David Shaw <[email protected]> | 2004-09-10 18:56:52 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-09-10 18:56:52 +0000 |
commit | 5494eb1bb693c008daf52bd56ca9f88d6977e2f1 (patch) | |
tree | 1ab1bb66e3733bbc9fe79151b1dcd1c70664e599 /util/http.c | |
parent | * README: Doc --disable-card-support and --without-readline. (diff) | |
download | gnupg-5494eb1bb693c008daf52bd56ca9f88d6977e2f1.tar.gz gnupg-5494eb1bb693c008daf52bd56ca9f88d6977e2f1.zip |
* http.c (main): Fix test code for http-test.
Diffstat (limited to 'util/http.c')
-rw-r--r-- | util/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |