mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
Fix typo in comment.
Author: Chao Li <lic@highgo.com> Reviewed-by: Fujii Masao <masao.fujii@gmail.com> Discussion: https://postgr.es/m/CD9B2247-617A-4761-8338-2705C8728E2A@highgo.com
This commit is contained in:
@@ -807,8 +807,10 @@ rfmtlong(long lng_val, const char *fmt, char *outbuf)
|
|||||||
if (strchr(fmt, (int) '(') && strchr(fmt, (int) ')'))
|
if (strchr(fmt, (int) '(') && strchr(fmt, (int) ')'))
|
||||||
brackets_ok = 1;
|
brackets_ok = 1;
|
||||||
|
|
||||||
/* get position of the right-most dot in the format-string */
|
/*
|
||||||
/* and fill the temp-string wit '0's up to there. */
|
* get position of the right-most dot in the format-string and fill the
|
||||||
|
* temp-string with '0's up to there.
|
||||||
|
*/
|
||||||
dotpos = getRightMostDot(fmt);
|
dotpos = getRightMostDot(fmt);
|
||||||
|
|
||||||
/* start to parse the format-string */
|
/* start to parse the format-string */
|
||||||
|
|||||||
Reference in New Issue
Block a user