git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@747 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/08/13 18:30:02... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Fri Aug 13 10:28:40 BST 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/message.c: Fix compilation error with Sun's SUNWspro |
|
4 |
+ compiler |
|
5 |
+ |
|
1 | 6 |
Thu Aug 12 16:10:31 CEST 2004 (tk) |
2 | 7 |
---------------------------------- |
3 | 8 |
* etc/freshclam.conf: add example of PidFile directive (thanks to Youza |
... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
* |
18 | 18 |
* Change History: |
19 | 19 |
* $Log: message.c,v $ |
20 |
+ * Revision 1.71 2004/08/13 09:28:16 nigelhorne |
|
21 |
+ * Remove incorrect comment style |
|
22 |
+ * |
|
20 | 23 |
* Revision 1.70 2004/08/08 19:13:15 nigelhorne |
21 | 24 |
* Better handling of bounces |
22 | 25 |
* |
... | ... |
@@ -207,7 +210,7 @@ |
207 | 207 |
* uuencodebegin() no longer static |
208 | 208 |
* |
209 | 209 |
*/ |
210 |
-static char const rcsid[] = "$Id: message.c,v 1.70 2004/08/08 19:13:15 nigelhorne Exp $"; |
|
210 |
+static char const rcsid[] = "$Id: message.c,v 1.71 2004/08/13 09:28:16 nigelhorne Exp $"; |
|
211 | 211 |
|
212 | 212 |
#if HAVE_CONFIG_H |
213 | 213 |
#include "clamav-config.h" |
... | ... |
@@ -842,7 +845,7 @@ messageAddLine(message *m, const char *line, int takeCopy) |
842 | 842 |
cli_errmsg("messageAddLine: out of memory\n"); |
843 | 843 |
return -1; |
844 | 844 |
} |
845 |
- // cli_chomp(m->body_last->t_text); |
|
845 |
+ /* cli_chomp(m->body_last->t_text); */ |
|
846 | 846 |
} else |
847 | 847 |
m->body_last->t_text = (char *)line; |
848 | 848 |
|
... | ... |
@@ -974,7 +977,6 @@ messageToBlob(message *m) |
974 | 974 |
} else if((t_line = binhexBegin(m)) != NULL) { |
975 | 975 |
unsigned char byte; |
976 | 976 |
unsigned long len, l, newlen = 0L; |
977 |
- char *filename; |
|
978 | 977 |
unsigned char *uptr, *data; |
979 | 978 |
char *ptr; |
980 | 979 |
int bytenumber; |