From 262a5d1b383500cbf89d84779b63e50eb1fb0b0e Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Wed, 5 Nov 2003 13:09:03 +0000 Subject: [PATCH] HTTP: indicating the proper port (bug #795456) --- SRC/echoping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SRC/echoping.c b/SRC/echoping.c index 283bc1f..71f715c 100644 --- a/SRC/echoping.c +++ b/SRC/echoping.c @@ -538,7 +538,8 @@ main (argc, argv) #ifdef HTTP if (http) { - sendline = make_http_sendline (url, server, res->ai_protocol, nocache); + sendline = make_http_sendline (url, server, atoi(pbuf), nocache); + /* printf ("DEBUG: sending %s\n", sendline); */ } else #endif