Browse code

In experimental mode, correct the GET command

git-svn: trunk@2909

Nigel Horne authored on 2007/03/06 06:05:28
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Mon Mar  5 19:10:16 GMT 2007 (njh)
2
+----------------------------------
3
+  * libclamav/mbox.c:	In experimental mode, correct the GET command
4
+
1 5
 Mon Mar  5 19:26:57 CET 2007 (tk)
2 6
 ---------------------------------
3 7
   * configure: don't link against libcurl in experimental mode
... ...
@@ -9,7 +13,7 @@ Mon Mar  5 19:10:11 CET 2007 (tk)
9 9
 Fri Mar  2 19:36:00 CEST 2007 (edwin)
10 10
 -------------------------------------
11 11
    * libclamav/htmlnorm.c: ampersands were missed in URLs. (bb #377)
12
- 
12
+
13 13
 Mon Mar  5 17:09:00 GMT 2007 (njh)
14 14
 ----------------------------------
15 15
   * libclamav/mbox.c:	Fix debug message (bug 378)
... ...
@@ -21,7 +25,7 @@ Mon Mar  5 16:53:27 CET 2007 (acab)
21 21
 Mon Mar  5 08:57:00 GMT 2007 (njh)
22 22
 ---------------------------------
23 23
   * libclamav/mbox.c:	Fix another part of bug 255 (please only report one
24
-  				bug per bugzilla bug :-( )
24
+				bug per bugzilla bug :-( )
25 25
 
26 26
 Fri Mar  2 23:05:00 CET 2007 (edwin)
27 27
 ----------------------------------
... ...
@@ -4529,10 +4529,10 @@ getURL(struct arg *arg)
4529 4529
 	 */
4530 4530
 	if(via_proxy)
4531 4531
 		snprintf(buf, sizeof(buf) - 1,
4532
-			"GET %s HTTP/1.0\nUser-Agent: www.clamav.net\r\n\r\n", url);
4532
+			"GET %s HTTP/1.0\r\nUser-Agent: www.clamav.net\r\n\r\n", url);
4533 4533
 	else
4534 4534
 		snprintf(buf, sizeof(buf) - 1,
4535
-			"GET /%s HTTP/1.0\nUser-Agent: www.clamav.net\r\n\r\n", url);
4535
+			"GET /%s HTTP/1.0\r\nUser-Agent: www.clamav.net\r\n\r\n", url);
4536 4536
 
4537 4537
 	/*cli_dbgmsg("%s", buf);*/
4538 4538