1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix compile-time errors on -current.

This commit is contained in:
Steve Price 2000-02-20 20:51:45 +00:00
parent 5cb58533ad
commit eba14b4985
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26054

20
mail/mmr/files/patch-ae Normal file
View File

@ -0,0 +1,20 @@
--- 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;