fix regression, propably due to some changes in the string API
[apps/madmutt.git] / pgpkey.c
index a0aed72..d995bc8 100644 (file)
--- a/pgpkey.c
+++ b/pgpkey.c
@@ -16,6 +16,7 @@
 #include <lib-lib/str.h>
 #include <lib-lib/ascii.h>
 #include <lib-lib/macros.h>
+#include <lib-lib/file.h>
 
 #include "mutt.h"
 #include "enter.h"
@@ -653,7 +654,7 @@ pgp_key_t pgp_ask_for_key (char *tag, char *whatfor,
   }
 
 
-  FOREVER {
+  for (;;) {
     resp[0] = 0;
     if (mutt_get_field (tag, resp, sizeof (resp), M_CLEAR) != 0)
       return NULL;