Line 0
Link Here
|
|
|
1 |
--- network.c~ Sun Mar 24 06:49:56 2002 |
2 |
+++ network.c Sun Aug 14 03:54:23 2005 |
3 |
@@ -225,7 +225,8 @@ |
4 |
* a html page and not the stream */ |
5 |
snprintf(http_request, sizeof(http_request), "GET /%s HTTP/1.0\r\n" |
6 |
/* "User-Agent: Mozilla/2.0 (Win95; I)\r\n" */ |
7 |
- "Pragma: no-cache\r\n" "Host: %s\r\n" "Accept: */*\r\n" "\r\n", filename, host); |
8 |
+ "User-Agent: mpg321/%s\r\n" |
9 |
+ "Pragma: no-cache\r\n" "Host: %s\r\n" "Accept: */*\r\n" "\r\n", filename, VERSION, host); |
10 |
|
11 |
send(tcp_sock, http_request, strlen(http_request), 0); |
12 |
|