forked from Mirrors/freeswitch
regression from 29f66f99
This commit is contained in:
parent
13ac8baef2
commit
3ca8536558
@ -774,10 +774,10 @@ SWITCH_DECLARE(switch_bool_t) switch_simple_email(const char *to,
|
||||
|
||||
end:
|
||||
|
||||
if (fd < 0) {
|
||||
if (fd > -1) {
|
||||
close(fd);
|
||||
}
|
||||
if (ifd < 0) {
|
||||
if (ifd > -1) {
|
||||
close(ifd);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user