summaryrefslogtreecommitdiff
path: root/src/common/md5.c
diff options
context:
space:
mode:
authorPeter Eisentraut2017-08-16 04:22:32 +0000
committerPeter Eisentraut2017-11-08 16:37:28 +0000
commit2eb4a831e5fb5d8fc17e13aea56e04af3efe27b4 (patch)
treeb46993cceb7cd8b848e39a45c1bb8c73dc67b221 /src/common/md5.c
parent4497f2f3b30fa5cd48898033c351bfcf01ce73e2 (diff)
Change TRUE/FALSE to true/false
The lower case spellings are C and C++ standard and are used in most parts of the PostgreSQL sources. The upper case spellings are only used in some files/modules. So standardize on the standard spellings. The APIs for ICU, Perl, and Windows define their own TRUE and FALSE, so those are left as is when using those APIs. In code comments, we use the lower-case spelling for the C concepts and keep the upper-case spelling for the SQL concepts. Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
Diffstat (limited to 'src/common/md5.c')
-rw-r--r--src/common/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/md5.c b/src/common/md5.c
index ba65b02af68..9144cab6ee7 100644
--- a/src/common/md5.c
+++ b/src/common/md5.c
@@ -317,7 +317,7 @@ pg_md5_binary(const void *buff, size_t len, void *outbuf)
* Output format is "md5" followed by a 32-hex-digit MD5 checksum.
* Hence, the output buffer "buf" must be at least 36 bytes long.
*
- * Returns TRUE if okay, FALSE on error (out of memory).
+ * Returns true if okay, false on error (out of memory).
*/
bool
pg_md5_encrypt(const char *passwd, const char *salt, size_t salt_len,