summaryrefslogtreecommitdiffstats
path: root/loader/ftp.c
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-01-17 20:36:43 +0000
committerErik Troan <ewt@redhat.com>2001-01-17 20:36:43 +0000
commit327bd1015dfd1d3ada54f41d0fd800e355faf5ad (patch)
tree7cc2cf5e086cb8c09c42b999cd5193dda11328a9 /loader/ftp.c
parent081062c925878009dd8fe7496144db6dfd989e6c (diff)
downloadanaconda-327bd1015dfd1d3ada54f41d0fd800e355faf5ad.tar.gz
anaconda-327bd1015dfd1d3ada54f41d0fd800e355faf5ad.tar.xz
anaconda-327bd1015dfd1d3ada54f41d0fd800e355faf5ad.zip
use http 1.0
Diffstat (limited to 'loader/ftp.c')
-rw-r--r--loader/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/ftp.c b/loader/ftp.c
index c76916143..6f1bd8131 100644
--- a/loader/ftp.c
+++ b/loader/ftp.c
@@ -442,7 +442,7 @@ int httpGetFileDesc(char * hostname, int port, char * remotename) {
}
buf = alloca(strlen(remotename) + 20);
- sprintf(buf, "GET %s HTTP/0.9\r\n\r\n", remotename);
+ sprintf(buf, "GET %s \"HTTP/1.0\"\r\n\r\n", remotename);
write(sock, buf, strlen(buf));
/* This is fun; read the response a character at a time until we: