projects
/
onak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e18b268
)
Fix path bug in sendkeysync.
author
Jonathan McDowell
<noodles@earth.li>
Wed, 16 Feb 2005 14:12:47 +0000
(14:12 +0000)
committer
Jonathan McDowell
<noodles@earth.li>
Wed, 16 Feb 2005 14:12:47 +0000
(14:12 +0000)
We weren't using the path configured for the MTA from the config file,
instead it was a hard coded value. This causes problems if the MTA isn't
on the path.
sendsync.c
patch
|
blob
|
history
diff --git
a/sendsync.c
b/sendsync.c
index 568ba3fcc586eb346ca7daeb89addcb7fde90246..ffcf70508dd4adf85d3e2c9348593ecf3804f9ba 100644
(file)
--- a/
sendsync.c
+++ b/
sendsync.c
@@
-43,7
+43,7
@@
int sendkeysync(struct openpgp_publickey *keys)
struct openpgp_packet_list *list_end = NULL;
if (config.syncsites != NULL &&
- (fd=popen(
"sendmail -t"
, "w")) != NULL) {
+ (fd=popen(
config.mta
, "w")) != NULL) {
fprintf(fd, "From: %s\n", config.adminemail);
fprintf(fd, "To: ");