summaryrefslogtreecommitdiff
path: root/mail/mmr/files/patch-ae
blob: 7c43b2a665a2b8fb636ed73f5cc4e2a61883d56d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- mailmsg.cpp.orig	Tue May 30 01:59:06 2000
+++ mailmsg.cpp	Fri Oct 25 13:54:39 2002
@@ -18,7 +18,7 @@
 mailmsg::boundary[] = { "From", NULL };
 
 /* This is called by a program to create a new list of messages */
-mailmsg:: mailmsg(IObottle *mailfile, void (*oncreate)(mailmsg *ptr) = NULL)
+mailmsg:: mailmsg(IObottle *mailfile, void (*oncreate)(mailmsg *ptr))
 {
 	struct mbox_data *MBox;
 
@@ -173,7 +173,7 @@
 			/* Simple corruption check -- early end? */
 			if ( strncmp(newdata, "From ",
 					strlen("From ")) == 0 ) {
-				cerr << "Warning: Corrupt mailfile?" << endl;
+				std::cerr << "Warning: Corrupt mailfile?" << std::cerr;
 				break;
 			}
 
@@ -338,7 +338,7 @@
 
 /* See/Set the status of the message */
 const char *
-mailmsg:: Status(int in_listing = 0)
+mailmsg:: Status(int in_listing)
 {
 	/* Thread aware. :) */
 	if ( in_listing && (mbox->showthreads == HIDE_THREADS) ) {
@@ -664,8 +664,8 @@
 
 		/* Sanity check */
 		if ( i != (strlen(newsubject)-RElen) ) {
-			cerr << "Warning: RE stripping: possible corruption!"
-								<< endl;
+			std::cerr << "Warning: RE stripping: possible corruption!"
+								<< std::cerr;
 		}
 
 		/* Make it the new subject */