Fix incorrect comment.

PQmblen and PQdsplen return information about characters, not words.

Kyotaro Horiguchi
pull/11/head
Robert Haas 10 years ago
parent aec64e8f45
commit 212bba93ce
  1. 4
      src/interfaces/libpq/fe-misc.c

@ -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)
} }
/* /*
* 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

Loading…
Cancel
Save