Browse code

downgrade "file not found on remote server" to warning

git-svn: trunk@3265

Tomasz Kojm authored on 2007/10/04 21:15:15
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Oct  4 13:29:02 CEST 2007 (tk)
2
+----------------------------------
3
+  * freshclam/manager.c: downgrade "file not found on remote server" to warning
4
+
1 5
 Wed Oct  3 18:26:12 EEST 2007 (edwin)
2 6
 -------------------------------------
3 7
   * libclamav/clamav.h: make CL_SCAN_STDOPT consistent with clamscan/clamd's
... ...
@@ -598,7 +598,7 @@ static int getfile(const char *srcfile, const char *destfile, const char *hostna
598 598
 
599 599
     /* check whether the resource actually existed or not */
600 600
     if((strstr(buffer, "HTTP/1.1 404")) != NULL || (strstr(buffer, "HTTP/1.0 404")) != NULL) { 
601
-	logg("!getfile: %s not found on remote server (IP: %s)\n", srcfile, ipaddr);
601
+	logg("^getfile: %s not found on remote server (IP: %s)\n", srcfile, ipaddr);
602 602
 	/* mirman_update(mdat->currip, mdat, 1); */
603 603
 	closesocket(sd);
604 604
 	return 58;