Fixed last chnage.
authorWerner Koch <wk@gnupg.org>
Mon, 26 Feb 2007 10:44:57 +0000 (10:44 +0000)
committerWerner Koch <wk@gnupg.org>
Mon, 26 Feb 2007 10:44:57 +0000 (10:44 +0000)
gpgme/verify.c

index d36206f..a9730e5 100644 (file)
@@ -716,7 +716,7 @@ _gpgme_verify_status_handler (void *priv, gpgme_status_code_t code, char *args)
       break;
 
     case GPGME_STATUS_PLAINTEXT:
-      if (++opd->only_newsig_seen > 1)
+      if (++opd->plaintext_seen > 1)
         return gpg_error (GPG_ERR_BAD_DATA);
       err = _gpgme_parse_plaintext (args, &opd->result.file_name);
       if (err)