mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* http.c (main): Fix test code for http-test.
This commit is contained in:
parent
06853bbc4d
commit
5494eb1bb6
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue