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

21 lines
636 B
Plaintext
Raw Normal View History

--- mailmsg.cpp.orig Sat Jan 29 19:09:17 2000
+++ mailmsg.cpp Fri Mar 31 03:37:43 2000
@@ -142,7 +142,7 @@
continue;
}
schar =
- ((*status == ' ') ? "R" : status);
+ ((*status == ' ') ? (char *)"R" : status);
*sptr = *schar;
NewField("Status", schar);
status_written = 1;
@@ -157,7 +157,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;