projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d38cb
)
Corrected the check for *message truncated* for the future use.
author
Hiroshi Inoue
Tue, 19 Jun 2001 03:17:12 +0000
(
03:17
+0000)
committer
Hiroshi Inoue
Tue, 19 Jun 2001 03:17:12 +0000
(
03:17
+0000)
src/interfaces/odbc/socket.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/odbc/socket.c
b/src/interfaces/odbc/socket.c
index de695058b9c80b6ac4a76f8e6b89cbbefba76ecf..243df4a50140a4e4a5c3bab604b3e885651f8cd6 100644
(file)
--- a/
src/interfaces/odbc/socket.c
+++ b/
src/interfaces/odbc/socket.c
@@
-202,7
+202,7
@@
SOCK_get_string(SocketClass *self, char *buffer, int bufsize)
{
register int lf = 0;
- for (lf = 0; lf < bufsize; lf++)
+ for (lf = 0; lf < bufsize
- 1
; lf++)
if (!(buffer[lf] = SOCK_get_next_byte(self)))
return FALSE;