regression from 29f66f99

This commit is contained in:
Anthony Minessale 2012-02-23 16:21:05 -06:00
parent 13ac8baef2
commit 3ca8536558

View File

@ -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);
}