Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b41ef0

Browse files
Fix documentation comment for pg_md5_hash
Commitb69aba7 added the errstr parameter to pg_md5_hash butmissed updating the synopsis in the documentation comment. Thefollow-up commit587de22 added the parameter to the list ofoutputs. The returnvalue had been changed from integer to boolbefore that but remained in the synopsis. This fixes both.Author: Tatsuro Yamada <tatsuro.yamada@ntt.com>Discussion:https://postgr.es/m/TYYPR01MB82313576150CC86084A122CD9E292@TYYPR01MB8231.jpnprd01.prod.outlook.com
1 parent9c40db3 commit6b41ef0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/common/md5_common.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ bytesToHex(uint8 b[16], char *s)
4545
*Calculates the MD5 sum of the bytes in a buffer.
4646
*
4747
*SYNOPSIS #include "md5.h"
48-
* int pg_md5_hash(const void *buff, size_t len, char *hexsum)
48+
* bool pg_md5_hash(const void *buff, size_t len, char *hexsum,
49+
* const char **errstr)
4950
*
5051
*INPUT buff the buffer containing the bytes that you want
5152
* the MD5 sum of.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp