[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.99.48



> Solaris 2.5, cc: SC4.0 18 Oct 1995 C 4.0
> cc -g -DHAVE_CONFIG_H -I../.. -I../../include   -c  smtp.c
> "smtp.c", line 2177: operands have incompatible types:
>          pointer to uchar ":" pointer to char
> "smtp.c", line 3544: cannot recover from previous errors
> cc: acomp failed for smtp.c

	Ok, this should fix it.
	This is also appended into the "patch1" -file.

		/Matti Aarnio

--- zmailer-2.99.48/transports/smtp/smtp.c~	Thu Apr 24 18:45:17 1997
+++ zmailer-2.99.48/transports/smtp/smtp.c	Fri Apr 25 11:38:39 1997
@@ -2174,7 +2174,7 @@
 	      else
 		fprintf(SS->verboselog,
 			" rc=%d, mxh[0].host=%.200s (host=%.200s) mxcnt=%d\n",
-			rc, (mxh[0].host == NULL) ? mxh[0].host : "<NUL>",
+			rc, (! mxh[0].host) ? (char*)mxh[0].host : "<NUL>",
 			host, mxcnt);
 	    hp = NULL;		/* Ruined 'hp' datas within getmxrr() */
 	    switch (rc) {