Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2000 15:18:38 +0100
From:      Alexander Langer <alex@big.endian.de>
To:        ports@freebsd.org
Subject:   fix for mail/mmr for current (bentofied)
Message-ID:  <20000203151838.A43200@cichlids.cichlids.com>

next in thread | raw e-mail | index | archive | help

--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii

Use this additional patch.
-- 
I doubt, therefore I might be. 

--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ae

--- mailmsg.cc.old	Thu Feb  3 15:15:26 2000
+++ mailmsg.cc	Thu Feb  3 15:16:01 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;

--YiEDa0DAkWCtVeE4--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000203151838.A43200>