Thread (18 messages) flat view 18 messages, 4 authors, 2016-06-15

Re: [PATCH 5/5] tag: recognize rfc1991 signatures

From: Thiago Farina <hidden>
Date: 2016-06-15 22:49:59

Possibly related (same subject, not in this thread)

On Sat, Nov 6, 2010 at 9:04 AM, Michael J Gruber
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
diff --git a/tag.c b/tag.c
index 5f9626c..18a5142 100644
--- a/tag.c
+++ b/tag.c
@@ -138,7 +138,8 @@ size_t parse_signature(const char *buf, unsigned long size)
 {
       char *eol;
       size_t len = 0;
-       while (len < size && prefixcmp(buf + len, PGP_SIGNATURE)) {
+       while (len < size && prefixcmp(buf + len, PGP_SIGNATURE)
+                       && prefixcmp(buf + len, PGP_MESSAGE)) {
nit: I think this && should be in the end of the previous line. (Not
sure what is the preferred style though, comments?).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help