git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@208 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/01/26 23:14:10... | ... |
@@ -204,6 +204,12 @@ Changes |
204 | 204 |
Added --signature-file option |
205 | 205 |
0.66e 12/1/04 FixStaleSocket: no longer complain if asked to remove |
206 | 206 |
an old socket when there was none to remove |
207 |
+0.66f 24/1/04 -s: Allow clamd server name as well as IPaddress |
|
208 |
+0.66g 25/1/04 Corrected usage message |
|
209 |
+ Started to honour --debug |
|
210 |
+ Dump core on LINUX if CL_DEBUG set |
|
211 |
+ Support multiple servers separated by colons |
|
212 |
+0.66h 26/1/04 Corrected endian problem (ntohs instead of htons) |
|
207 | 213 |
|
208 | 214 |
BUG REPORTS |
209 | 215 |
|
... | ... |
@@ -212,9 +212,13 @@ |
212 | 212 |
* Started to honour --debug |
213 | 213 |
* Dump core on LINUX if CL_DEBUG set |
214 | 214 |
* Support multiple servers separated by colons |
215 |
+ * 0.66h 26/1/04 Corrected endian problem (ntohs instead of htons) |
|
215 | 216 |
* |
216 | 217 |
* Change History: |
217 | 218 |
* $Log: clamav-milter.c,v $ |
219 |
+ * Revision 1.39 2004/01/26 14:12:42 nigelhorne |
|
220 |
+ * Corrected endian problem (ntohs instead of htons) |
|
221 |
+ * |
|
218 | 222 |
* Revision 1.38 2004/01/25 14:23:51 nigelhorne |
219 | 223 |
* Support multiple clamd servers |
220 | 224 |
* |
... | ... |
@@ -314,9 +318,9 @@ |
314 | 314 |
* Revision 1.6 2003/09/28 16:37:23 nigelhorne |
315 | 315 |
* Added -f flag use MaxThreads if --max-children not set |
316 | 316 |
*/ |
317 |
-static char const rcsid[] = "$Id: clamav-milter.c,v 1.38 2004/01/25 14:23:51 nigelhorne Exp $"; |
|
317 |
+static char const rcsid[] = "$Id: clamav-milter.c,v 1.39 2004/01/26 14:12:42 nigelhorne Exp $"; |
|
318 | 318 |
|
319 |
-#define CM_VERSION "0.66g" |
|
319 |
+#define CM_VERSION "0.66h" |
|
320 | 320 |
|
321 | 321 |
/*#define CONFDIR "/usr/local/etc"*/ |
322 | 322 |
|
... | ... |
@@ -1477,7 +1481,7 @@ clamfi_envfrom(SMFICTX *ctx, char **argv) |
1477 | 1477 |
|
1478 | 1478 |
memset((char *)&reply, 0, sizeof(struct sockaddr_in)); |
1479 | 1479 |
reply.sin_family = AF_INET; |
1480 |
- reply.sin_port = ntohs(port); |
|
1480 |
+ reply.sin_port = htons(port); |
|
1481 | 1481 |
|
1482 | 1482 |
assert(serverIP != NULL); |
1483 | 1483 |
|