Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!ut-sally!ut-ngp!infotel!pollux!root
From: root@pollux.UUCP (The Mighty One)
Newsgroups: news.software.notes
Subject: hostdomain fixed to host.domain
Message-ID: <299@pollux.UUCP>
Date: Thu, 8-Jan-87 12:53:23 EST
Article-I.D.: pollux.299
Posted: Thu Jan  8 12:53:23 1987
Date-Received: Fri, 9-Jan-87 20:55:48 EST
Reply-To: root@pollux.UUCP (The Mighty One)
Distribution: world
Organization: Department of Electrical Engineering; S.M.U.; Dallas, TX
Lines: 29

When news articles are routed over to notes, the site and domain comes
out like hostdomain instead of host.domain.  The following fixes this
problem.

*** /tmp/,RCSt1002900	Thu Jan  8 11:27:09 1987
--- bnewshead.c	Thu Jan  8 11:21:02 1987
***************
*** 306,312
      tp = index (host, '@');
      if (tp != NULL)
  	*tp = 0;
!     sprintf (hp -> from, "%s@%s%s", user, host, MYDOMAIN);
  
      fullname = index (hp -> path, '(');
      if (fullname != NULL)

--- 306,312 -----
      tp = index (host, '@');
      if (tp != NULL)
  	*tp = 0;
!     sprintf (hp -> from, "%s@%s.%s", user, host, MYDOMAIN);
  
      fullname = index (hp -> path, '(');
      if (fullname != NULL)
-- 

Perry Smith
Pedz Consultants
pedz@megamax, pedz@ctvax, pedz@pollux