🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.notes
1 messages
1 total messages Started by The Mighty One Thu, 08 Jan 1987 17:53
hostdomain fixed to host.domain
#56
Author: The Mighty One
Date: Thu, 08 Jan 1987 17:53
29 lines
1337 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads