--- queue_command.c 2001/01/19 12:49:44 1.4
+++ queue_command.c 2001/01/19 14:53:23 1.5
@@ -1,6 +1,6 @@
/*
$Source: /v/ossp/cvs/ossp-pkg/petidomo/Attic/queue_command.c,v $
- $Revision: 1.4 $
+ $Revision: 1.5 $
Copyright (C) 2000 by Peter Simons <simons@computer.org>.
@@ -39,7 +39,7 @@
}
fprintf(fh, "#! /bin/sh\n");
fprintf(fh, "\n");
- fprintf(fh, "%s --mode=listserv --approved <<[end-of-mail-marker]\n", who_am_i);
+ fprintf(fh, "%s --mode=listserv --approved <<[end-of-%s-marker]\n", who_am_i, cookie);
fprintf(fh, "Sender: %s\n", mail->Envelope);
fprintf(fh, "From: %s\n", mail->From);
if (mail->Reply_To)
@@ -50,7 +50,7 @@
fprintf(fh, "Approve: %s\n", mail->Approve);
fprintf(fh, "\n");
fprintf(fh, "%s\n", command);
- fprintf(fh, "[end-of-mail-marker]\n");
+ fprintf(fh, "[end-of-%s-marker]\n", cookie);
fclose(fh);
chmod(buffer, 0755);
free(buffer);
|