diff src/protocol.c @ 111:6f681d41734c noffle

[svn] path-header added.
author bears
date Sat, 24 Jun 2000 21:28:01 +0100
parents e612b263934f
children d45b0abe7c79
line wrap: on
line diff
--- a/src/protocol.c	Sat Jun 24 21:20:01 2000 +0100
+++ b/src/protocol.c	Sat Jun 24 21:28:01 2000 +0100
@@ -1,7 +1,7 @@
 /*
   protocol.c
 
-  $Id: protocol.c 65 2000-05-12 16:52:41Z enz $
+  $Id: protocol.c 155 2000-06-24 20:28:01Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -284,3 +284,14 @@
     snprintf( msgId, MAXCHAR, "<%s.%X.%s@%s>", date, rand(), suffix, domain );
     ASSERT( Prt_isValidMsgId( msgId ) );
 }
+
+void
+Prt_genPathHdr( Str pathHdr, const char *from )
+{
+    getDomain( pathHdr, from );
+    Utl_catStr( pathHdr, "!not-for-mail" );
+}
+
+
+
+