projects
/
gpgme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7880335
)
doc: Let's suggest GNU guidelines for bit checking.
author
Werner Koch
<wk@gnupg.org>
Wed, 7 Dec 2016 22:25:50 +0000
(23:25 +0100)
committer
Werner Koch
<wk@gnupg.org>
Wed, 7 Dec 2016 22:25:50 +0000
(23:25 +0100)
--
While educating students we can also get them to use useful habits, in
particular to parenthese bit tests.
Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpgme.texi
patch
|
blob
|
history
diff --git
a/doc/gpgme.texi
b/doc/gpgme.texi
index
ee82b27
..
511384f
100644
(file)
--- a/
doc/gpgme.texi
+++ b/
doc/gpgme.texi
@@
-4952,7
+4952,7
@@
signature is valid without any restrictions. This means that
you can check for GPGME_SIGSUM_VALID like this:
@example
-if (
sig.summary & GPGME_SIGSUM_VALID
)
+if (
(sig.summary & GPGME_SIGSUM_VALID)
)
@{
..do stuff if valid..
@}