projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
deal with sendmail and dotlock in LUA.
[apps/madmutt.git]
/
lib-mx
/
compress.c
diff --git
a/lib-mx/compress.c
b/lib-mx/compress.c
index
1684dd3
..
df6c761
100644
(file)
--- a/
lib-mx/compress.c
+++ b/
lib-mx/compress.c
@@
-200,7
+200,7
@@
int mutt_open_read_compressed(CONTEXT * ctx)
/* If we cannot open tempfile, that means the file already exists (!?)
* or we are following a symlink, which is bad and insecure.
*/
- if(
!tmpfd
) {
+ if(
tmpfd < 0
) {
return -1;
}
close(tmpfd);