1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-09-22 15:11:41 +02:00

* http.c (main): Fix test code for http-test.

This commit is contained in:
David Shaw 2004-09-10 18:56:52 +00:00
parent 06853bbc4d
commit 5494eb1bb6
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-09-10 David Shaw <dshaw@jabberwocky.com>
* http.c (main): Fix test code for http-test.
2004-09-09 Werner Koch <wk@g10code.com> 2004-09-09 Werner Koch <wk@g10code.com>
* errors.c (g10_errstr): New error codes G10ERR_NO_CARD, * errors.c (g10_errstr): New error codes G10ERR_NO_CARD,

View File

@ -619,7 +619,7 @@ parse_response( HTTP_HD hd )
return 0; return 0;
} }
#if 0 #ifdef TEST
static int static int
start_server() start_server()
{ {
@ -943,7 +943,7 @@ main(int argc, char **argv)
} }
release_parsed_uri( uri ); uri = NULL; release_parsed_uri( uri ); uri = NULL;
rc = http_open_document( &hd, *argv, 0 ); rc = http_open_document( &hd, *argv, 0, NULL );
if( rc ) { if( rc ) {
log_error("can't get `%s': %s\n", *argv, g10_errstr(rc)); log_error("can't get `%s': %s\n", *argv, g10_errstr(rc));
return 1; return 1;