regression from 29f66f99

This commit is contained in:
Anthony Minessale 2012-02-23 16:21:05 -06:00
parent 13ac8baef2
commit 3ca8536558
1 changed files with 2 additions and 2 deletions

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