Browse code

update

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1284 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2005/01/27 03:06:39
Showing 3 changed files
... ...
@@ -15,5 +15,5 @@
15 15
 #  along with this program; if not, write to the Free Software
16 16
 #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
 
18
-EXTRA_DIST = clamdoc.pdf man clamav-mirror-howto.pdf signatures.pdf MacOSX
18
+EXTRA_DIST = clamdoc.pdf man clamav-mirror-howto.pdf signatures.pdf MacOSX clamdoc.tex clam.eps
19 19
 man_MANS = man/clamscan.1 man/freshclam.1 man/sigtool.1 man/clamd.8 man/clamd.conf.5 man/clamdscan.1 man/clamav-milter.8 man/freshclam.conf.5
... ...
@@ -175,7 +175,7 @@ target_alias = @target_alias@
175 175
 target_cpu = @target_cpu@
176 176
 target_os = @target_os@
177 177
 target_vendor = @target_vendor@
178
-EXTRA_DIST = clamdoc.pdf man clamav-mirror-howto.pdf signatures.pdf MacOSX
178
+EXTRA_DIST = clamdoc.pdf man clamav-mirror-howto.pdf signatures.pdf MacOSX clamdoc.tex clam.eps
179 179
 man_MANS = man/clamscan.1 man/freshclam.1 man/sigtool.1 man/clamd.8 man/clamd.conf.5 man/clamdscan.1 man/clamav-milter.8 man/freshclam.conf.5
180 180
 all: all-am
181 181
 
... ...
@@ -155,11 +155,11 @@ int downloadmanager(const struct cfgstruct *copt, const struct optstruct *opt, c
155 155
 
156 156
     if(updated) {
157 157
 	if(cfgopt(copt, "HTTPProxyServer")) {
158
-	    mprintf("Database updated (%d signatures) from %s.\n", signo, hostname);
159
-	    logg("Database updated (%d signatures) from %s.\n", signo, hostname);
158
+	    mprintf("Database updated (%d signatures) from %s\n", signo, hostname);
159
+	    logg("Database updated (%d signatures) from %s\n", signo, hostname);
160 160
 	} else {
161
-	    mprintf("Database updated (%d signatures) from %s (%s).\n", signo, hostname, ipaddr);
162
-	    logg("Database updated (%d signatures) from %s (%s).\n", signo, hostname, ipaddr);
161
+	    mprintf("Database updated (%d signatures) from %s (IP: %s)\n", signo, hostname, ipaddr);
162
+	    logg("Database updated (%d signatures) from %s (IP: %s)\n", signo, hostname, ipaddr);
163 163
 	}
164 164
 
165 165
 #ifdef BUILD_CLAMD
... ...
@@ -279,7 +279,7 @@ int downloaddb(const char *localname, const char *remotename, const char *hostna
279 279
 		cl_cvdfree(current);
280 280
 	    return 52;
281 281
 	} else {
282
-	    mprintf("*Connected to %s (%s).\n", hostname, ipaddr);
282
+	    mprintf("*Connected to %s (IP: %s).\n", hostname, ipaddr);
283 283
 	}
284 284
 
285 285
 	if(!ip[0])
... ...
@@ -296,7 +296,7 @@ int downloaddb(const char *localname, const char *remotename, const char *hostna
296 296
 	}
297 297
 
298 298
 	if(!remote) {
299
-	    mprintf("@Can't read %s header from %s (%s)\n", remotename, hostname, ipaddr);
299
+	    mprintf("@Can't read %s header from %s (IP: %s)\n", remotename, hostname, ipaddr);
300 300
 	    close(hostfd);
301 301
 	    if(current)
302 302
 		cl_cvdfree(current);
... ...
@@ -339,7 +339,7 @@ int downloaddb(const char *localname, const char *remotename, const char *hostna
339 339
 
340 340
     if(hostfd < 0) {
341 341
 	if(ipaddr[0])
342
-	    mprintf("Connection with %s failed.\n", ipaddr);
342
+	    mprintf("Connection with %s (IP: %s) failed.\n", hostname, ipaddr);
343 343
 	else
344 344
 	    mprintf("Connection with %s failed.\n", hostname);
345 345
 	return 52;
... ...
@@ -351,7 +351,7 @@ int downloaddb(const char *localname, const char *remotename, const char *hostna
351 351
     tempname = cli_gentemp(".");
352 352
 
353 353
     if((ret = get_database(remotename, hostfd, tempname, hostname, proxy, user, pass))) {
354
-        mprintf("@Can't download %s from %s\n", remotename, ipaddr);
354
+        mprintf("@Can't download %s from %s (IP: %s)\n", remotename, hostname, ipaddr);
355 355
         unlink(tempname);
356 356
         free(tempname);
357 357
         close(hostfd);
... ...
@@ -474,7 +474,7 @@ int wwwconnect(const char *server, const char *proxy, int pport, char *ip)
474 474
 #endif
475 475
 
476 476
 	if(connect(socketfd, (struct sockaddr *) &name, sizeof(struct sockaddr_in)) == -1) {
477
-	    mprintf("Can't connect to port %d of host %s (%s)\n", port, hostpt, ipaddr);
477
+	    mprintf("Can't connect to port %d of host %s (IP: %s)\n", port, hostpt, ipaddr);
478 478
 	    close(socketfd);
479 479
 	    continue;
480 480
 	}