Commit 212bba93 authored by Robert Haas's avatar Robert Haas

Fix incorrect comment.

PQmblen and PQdsplen return information about characters, not words.

Kyotaro Horiguchi
parent aec64e8f
...@@ -1180,7 +1180,7 @@ pqSocketPoll(int sock, int forRead, int forWrite, time_t end_time) ...@@ -1180,7 +1180,7 @@ pqSocketPoll(int sock, int forRead, int forWrite, time_t end_time)
*/ */
/* /*
* returns the byte length of the word beginning s, using the * returns the byte length of the character beginning at s, using the
* specified encoding. * specified encoding.
*/ */
int int
...@@ -1190,7 +1190,7 @@ PQmblen(const char *s, int encoding) ...@@ -1190,7 +1190,7 @@ PQmblen(const char *s, int encoding)
} }
/* /*
* returns the display length of the word beginning s, using the * returns the display length of the character beginning at s, using the
* specified encoding. * specified encoding.
*/ */
int int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment