Skip to content

Commit 212bba9

Browse files
committed
Fix incorrect comment.
PQmblen and PQdsplen return information about characters, not words. Kyotaro Horiguchi
1 parent aec64e8 commit 212bba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/fe-misc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ pqSocketPoll(int sock, int forRead, int forWrite, time_t end_time)
11801180
*/
11811181

11821182
/*
1183-
* returns the byte length of the word beginning s, using the
1183+
* returns the byte length of the character beginning at s, using the
11841184
* specified encoding.
11851185
*/
11861186
int
@@ -1190,7 +1190,7 @@ PQmblen(const char *s, int encoding)
11901190
}
11911191

11921192
/*
1193-
* returns the display length of the word beginning s, using the
1193+
* returns the display length of the character beginning at s, using the
11941194
* specified encoding.
11951195
*/
11961196
int

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy