freebsd-ports/mail/mmr/files/patch-ae

21 lines
650 B
Plaintext
Raw Normal View History

2000-02-20 15:51:45 -05:00
--- mailmsg.cc.orig Sat Feb 19 21:38:48 2000
+++ mailmsg.cc Sat Feb 19 21:39:24 2000
@@ -190,7 +190,7 @@
continue;
}
schar =
- ((*status == ' ') ? "R" : status);
+ ((*status == ' ') ? (char *)"R" : status);
*sptr = *schar;
NewField("Status", schar);
status_written = 1;
@@ -208,7 +208,7 @@
char *schar;
sptr = new char[strlen("Status: ")+2+1];
strcpy(sptr, "Status: ");
- schar = ((*status == ' ') ? "R" : status);
+ schar = ((*status == ' ') ? (char *)"R" : status);
strcat(sptr, schar); strcat(sptr, "\n");
QueueRing(ringbuf, sptr, strlen(sptr));
delete[] sptr;