Fix comment related to pg_cryptohash_error()
authorMichael Paquier <michael@paquier.xyz>
Wed, 12 Jan 2022 03:39:36 +0000 (12:39 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 12 Jan 2022 03:39:36 +0000 (12:39 +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 ddf35d28b222ba1f91404e10ceb43a0526e1e844..a295a5c6d86394bc83b9020306e63ac7c61f71b8 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 2e835b066b40726e6481bd9fb44c1f2e63dc6c09..6c98f1cf95a5985ead002cea4f8924767aac6653 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 *