Send correct http message.
authorAndre <maan@p133.(none)>
Sat, 6 May 2006 15:21:10 +0000 (17:21 +0200)
committerAndre <maan@p133.(none)>
Sat, 6 May 2006 15:21:10 +0000 (17:21 +0200)
Screwed up since the 1.0 vs. 1.1 fix.

http_recv.c

index 49c10f9..5f1d779 100644 (file)
@@ -83,7 +83,7 @@ static void http_shutdown(void)
 static char *make_request_msg(void)
 {
        char *ret, *hn = para_hostname();
 static char *make_request_msg(void)
 {
        char *ret, *hn = para_hostname();
-       ret = make_message("%s\nHost: %s\nUser-Agent: para_recv/%s\n\n\n",
+       ret = make_message("%s1.0\nHost: %s\nUser-Agent: para_recv/%s\n\n\n",
                HTTP_GET_MSG, hn, VERSION);
        free(hn);
        return ret;
                HTTP_GET_MSG, hn, VERSION);
        free(hn);
        return ret;