Fix incorrect comment.

PQmblen and PQdsplen return information about characters, not words.

Kyotaro Horiguchi
This commit is contained in:
Robert Haas 2016-03-01 13:31:44 -05:00
parent aec64e8f45
commit 212bba93ce
1 changed files with 2 additions and 2 deletions

View File

@ -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.
*/
int
@ -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.
*/
int