mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 07:16:20 +00:00
Restoration of correct GPG encryption
Fixes https://github.com/boothj5/profanity/issues/997 Proposed as https://github.com/boothj5/profanity/pull/1008 Related to XEP-0027. Message edited and commit cherry picked by jubalh.
This commit is contained in:
committed by
Michael Vetter
parent
4792984f1e
commit
289b05ea50
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user