diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-03-01 13:31:44 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-03-01 13:31:44 -0500 |
commit | 212bba93ce52e5605f8b7fc1ede2e7aef797c372 (patch) | |
tree | 917e27430d92e6183071c166b1af50f56c4907c6 /src/interfaces/libpq/fe-misc.c | |
parent | aec64e8f45209b084fa33482de3831bc68b18913 (diff) | |
download | postgresql-212bba93ce52e5605f8b7fc1ede2e7aef797c372.tar.gz postgresql-212bba93ce52e5605f8b7fc1ede2e7aef797c372.zip |
Fix incorrect comment.
PQmblen and PQdsplen return information about characters, not words.
Kyotaro Horiguchi
Diffstat (limited to 'src/interfaces/libpq/fe-misc.c')
-rw-r--r-- | src/interfaces/libpq/fe-misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c index 9be05a0ddb0..30cee7f053c 100644 --- a/src/interfaces/libpq/fe-misc.c +++ b/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. */ 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 |