[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] whoami() broken for 2.0b8_ma10pre3.2



Hi!

All newly generated Xref headers have a strange server name in them,

| Xref: mde1mde1.home gnus.gnus-bug:3720

while /etc/hosts says

| 192.168.0.1	mde1 mde1.home

I think this patch fixes it:


--- miscutil.c	Sun Jun  2 18:02:21 2002
+++ /opt/src/leafnode-2.0b8_ma10pre3.2/miscutil.c	Sun Jun  2 18:03:49 2002
@@ -652,6 +652,7 @@
 			   "alias for my hostname: %s", *alias);
 		}
 		if (is_validfqdn(*alias)) {
+		    fqdn[0] = '\0';		    
 		    strncat(fqdn, *alias, 255);
 		    break;
 		} else {


Cheers, Ray
-- 
Raymond Scholz - rscholz@xxxxxxxx - PGP - http://www.zonix.de/

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list