|
|
| version 1.12.6.2, 2003/07/23 13:21:12 | version 1.13, 2003/07/24 10:09:40 |
|---|---|
| Line 276 public: | Line 276 public: |
| str=(char*)services.malloc(size+1); | str=(char*)services.malloc(size+1); |
| if(!lo_read_ex(conn, fd, str, size_tell)) | if(!lo_read_ex(conn, fd, str, size_tell)) |
| PQclear_throw("lo_read can not read all bytes of object"); | PQclear_throw("lo_read can not read all bytes of object"); |
| str[size]=0; | |
| } else | } else |
| str=0; | str=0; |
| if(lo_close(conn, fd)<0) | if(lo_close(conn, fd)<0) |