Browse code

Added newline to end of warning message

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

Nigel Horne authored on 2004/06/26 22:18:30
Showing 2 changed files
... ...
@@ -1,3 +1,9 @@
1
+Sat Jun 26 14:17:11 BST 2004 (njh)
2
+----------------------------------
3
+  * libclamav/message.c:	Added missing newline from the end of the
4
+	warning message that appears when scanning a uuencoded email that
5
+	contains lines that are too long
6
+
1 7
 Fri Jun 25 15:17:37 BST 2004 (trog)
2 8
 -----------------------------------
3 9
   * libclamav/vba_extract.c: fix error path crash
... ...
@@ -17,6 +17,9 @@
17 17
  *
18 18
  * Change History:
19 19
  * $Log: message.c,v $
20
+ * Revision 1.63  2004/06/26 13:16:25  nigelhorne
21
+ * Added newline to end of warning message
22
+ *
20 23
  * Revision 1.62  2004/06/24 21:37:26  nigelhorne
21 24
  * Handle uuencoded files created with buggy software
22 25
  *
... ...
@@ -183,7 +186,7 @@
183 183
  * uuencodebegin() no longer static
184 184
  *
185 185
  */
186
-static	char	const	rcsid[] = "$Id: message.c,v 1.62 2004/06/24 21:37:26 nigelhorne Exp $";
186
+static	char	const	rcsid[] = "$Id: message.c,v 1.63 2004/06/26 13:16:25 nigelhorne Exp $";
187 187
 
188 188
 #if HAVE_CONFIG_H
189 189
 #include "clamav-config.h"
... ...
@@ -1584,7 +1587,7 @@ decodeLine(const message *m, const char *line, unsigned char *buf, size_t buflen
1584 1584
 				 * the maximum length of a uuencoded line is
1585 1585
 				 * 62 characters
1586 1586
 				 */
1587
-				cli_warnmsg("uudecode: buffer overflow stopped, attempting to ignore but decoding may fail");
1587
+				cli_warnmsg("uudecode: buffer overflow stopped, attempting to ignore but decoding may fail\n");
1588 1588
 			else
1589 1589
 				buf = decode(line, buf, uudecode, (len & 3) == 0);
1590 1590
 			break;