Fix comment related to pg_cryptohash_error()
authorMichael Paquier
Wed, 12 Jan 2022 03:40:04 +0000 (12:40 +0900)
committerMichael Paquier
Wed, 12 Jan 2022 03:40:04 +0000 (12:40 +0900)
One of the comments introduced in b69aba7 was worded a bit weirdly, so
improve it.

Reported-by: Sergey Shinderuk
Discussion: https://postgr.es/m/71b9a5d2-a3bf-83bc-a243-93dcf0bcfb3b@postgrespro.ru
Backpatch-through: 14

src/common/cryptohash.c
src/common/cryptohash_openssl.c

index f4e88bff950b81cb7524ee1f50e422ad6646a846..5dc47ca25ec466f5387514c14dd6614f221e1b78 100644 (file)
@@ -252,7 +252,7 @@ pg_cryptohash_free(pg_cryptohash_ctx *ctx)
 /*
  * pg_cryptohash_error
  *
- * Returns a static string providing errors about an error that
+ * Returns a static string providing details about an error that
  * happened during a computation.
  */
 const char *
index 5fb22eff464c9173750d27037fdbb1c03cf86fc0..d9438dcd385f0061615a5980355961aae206f33e 100644 (file)
@@ -308,7 +308,7 @@ pg_cryptohash_free(pg_cryptohash_ctx *ctx)
 /*
  * pg_cryptohash_error
  *
- * Returns a static string providing errors about an error that
+ * Returns a static string providing details about an error that
  * happened during a computation.
  */
 const char *