[comp.sources.bugs] uucp mail for pc's, mangled From_ addresses

wietse@wzv.win.tue.nl (Wietse Z. Venema) (12/05/89)

This is an interim patch to the pc-mail software (comp.sources.misc
april 1988).  It fixes a problem with mangled From_ addresses (!user
instead of host!user) that occurs when the pc talks to a UNIX uucp
host that does not tell the host name in the initial (Shere) message.

A new release of the software is anticipated for end of January 1990.

*** cico.c-	Thu Nov 30 22:08:50 1989
--- cico.c	Mon Dec  4 23:03:43 1989
***************
*** 152,158 ****
      if (password == 0 || *password == 0) 
  	usage("no password specified");                 /* no password */
  
!     strcpy(rmthost,ip[P_HOST].strval);			/* remote host name */
  }
  
  /* usage - print error message and usage string */
--- 152,158 ----
      if (password == 0 || *password == 0) 
  	usage("no password specified");                 /* no password */
  
!     strcpy(rmthost,comm[P_HOST].strval);		/* remote host name */
  }
  
  /* usage - print error message and usage string */