mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
19a336cf01
PR: 17718 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
21 lines
636 B
Plaintext
21 lines
636 B
Plaintext
--- 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;
|