diff options
| author | 2022-11-27 09:09:55 +0100 | |
|---|---|---|
| committer | 2022-11-27 09:09:55 +0100 | |
| commit | a9d3e0ca79543ab6d590000327ae399908b2c8cc (patch) | |
| tree | 887b973f52c7e5bcc3b009fcba3cff7123914ba7 /activitypub.c | |
| parent | Added some tweaks to file locking. (diff) | |
| download | snac2-a9d3e0ca79543ab6d590000327ae399908b2c8cc.tar.gz snac2-a9d3e0ca79543ab6d590000327ae399908b2c8cc.tar.xz snac2-a9d3e0ca79543ab6d590000327ae399908b2c8cc.zip | |
I was using fclose() instead of pclose(). What a moron.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 228aabe..28c8045 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1021,7 +1021,7 @@ void process_queue(snac *snac) | |||
| 1021 | if ((f = popen("/usr/sbin/sendmail -t", "w")) != NULL) { | 1021 | if ((f = popen("/usr/sbin/sendmail -t", "w")) != NULL) { |
| 1022 | fprintf(f, "%s\n", msg); | 1022 | fprintf(f, "%s\n", msg); |
| 1023 | 1023 | ||
| 1024 | if (fclose(f) != EOF) | 1024 | if (pclose(f) != -1) |
| 1025 | ok = 1; | 1025 | ok = 1; |
| 1026 | } | 1026 | } |
| 1027 | 1027 | ||