mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
I was using fclose() instead of pclose(). What a moron.
This commit is contained in:
parent
e8c487add7
commit
a9d3e0ca79
1 changed files with 1 additions and 1 deletions
|
@ -1021,7 +1021,7 @@ void process_queue(snac *snac)
|
|||
if ((f = popen("/usr/sbin/sendmail -t", "w")) != NULL) {
|
||||
fprintf(f, "%s\n", msg);
|
||||
|
||||
if (fclose(f) != EOF)
|
||||
if (pclose(f) != -1)
|
||||
ok = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue