diff options
author | Werner Koch <[email protected]> | 2020-04-15 20:23:10 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-04-15 20:23:10 +0000 |
commit | 5c47e7825ba6f9524c1642675aa9fe70cd102b2c (patch) | |
tree | 8e1e8b9ecef37e5c30d9ec021beea561586fd8a8 /doc/HACKING | |
parent | gpg: Fix broken setting of AEAD algo. (diff) | |
download | gnupg-5c47e7825ba6f9524c1642675aa9fe70cd102b2c.tar.gz gnupg-5c47e7825ba6f9524c1642675aa9fe70cd102b2c.zip |
indent: Some typo and indentation changes for gpg.
--
Diffstat (limited to 'doc/HACKING')
-rw-r--r-- | doc/HACKING | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/HACKING b/doc/HACKING index 4781bf62c..0f8f84e5c 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -182,12 +182,11 @@ Note that such a comment will be removed if the git commit option ** Variable names Follow the GNU standards. Here are some conventions you may want to - stick to (do not rename existing "wrong" uses without a goog - reason). + stick to (do not rename existing "wrong" uses without a good reason). - err :: This conveys an error code of type =gpg_error_t= which is compatible to an =int=. To compare such a variable to a - GPG_ERR_ constant, it is necessary to map the value like + GPG_ERR_ constant, it is necessary to access the value like this: =gpg_err_code(err)=. - ec :: This is used for a gpg-error code which has no source part (=gpg_err_code_t=) and will eventually be used as input to @@ -425,5 +424,3 @@ plaintext packets and so on. The file g10/encode.c might be a good starting point to see how it is used - actually this is the other way: constructing messages using pushed filters but it may be easier to understand. - - |