about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pgp/gpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pgp/gpg.c b/src/pgp/gpg.c
index 8d2c1eab..0dbf0a8e 100644
--- a/src/pgp/gpg.c
+++ b/src/pgp/gpg.c
@@ -792,7 +792,7 @@ _remove_header_footer(char *str, const char *const footer)
     int pos = 0;
     int newlines = 0;
 
-    while (newlines < 3) {
+    while (newlines < 2) {
         if (str[pos] == '\n') {
             newlines++;
         }