improvements, fixes, parser progress, ...
[apps/madmutt.git] / lib-crypt / crypt-gpgme.c
index 72dd3ab..445dc77 100644 (file)
@@ -1631,7 +1631,7 @@ static int pgp_check_traditional_one_body (FILE * fp, BODY * b,
     return 0;
   }
 
-  if ((tfp = fdopen (tempfd, "r")) == NULL) {
+  if ((tfp = fopen(tempfile, "r")) == NULL) {
     unlink (tempfile);
     return 0;
   }