ossp-pkg/petidomo/queue_command.c 1.1 -> 1.2
--- queue_command.c 2001/01/15 16:29:11 1.1
+++ queue_command.c 2001/01/15 16:58:58 1.2
@@ -1,6 +1,6 @@
/*
$Source: /v/ossp/cvs/ossp-pkg/petidomo/Attic/queue_command.c,v $
- $Revision: 1.1 $
+ $Revision: 1.2 $
Copyright (C) 2000 by Peter Simons <simons@computer.org>.
@@ -22,7 +22,7 @@
#include "libtext/text.h"
#include "petidomo.h"
-void queue_command(const struct Mail* mail, const char* command)
+char* queue_command(const struct Mail* mail, const char* command)
{
const struct PD_Config * MasterConfig = getMasterConfig();
char* buffer;
@@ -54,4 +54,5 @@
fclose(fh);
chmod(buffer, 0755);
free(buffer);
+ return cookie;
}
|
|