@@ -4154,7 +4154,7 @@ switch (v.sqltype)
41544154{
41554155 case ECPGt_char:
41564156 memset(&var_buf, 0, sizeof(var_buf));
4157- memcpy(&var_buf, sqldata, (sizeof(var_buf)< = sqllen ? sizeof(var_buf) - 1 : sqllen));
4157+ memcpy(&var_buf, sqldata, (sizeof(var_buf)< = sqllen ? sizeof(var_buf) - 1 : sqllen));
41584158 break;
41594159
41604160 case ECPGt_int: /* integer */
@@ -4390,7 +4390,7 @@ main(void)
43904390
43914391 case ECPGt_char:
43924392 memset(&var_buf, 0, sizeof(var_buf));
4393- memcpy(&var_buf, sqldata, (sizeof(var_buf)< = sqllen ? sizeof(var_buf)-1 : sqllen));
4393+ memcpy(&var_buf, sqldata, (sizeof(var_buf)< = sqllen ? sizeof(var_buf)-1 : sqllen));
43944394 break;
43954395
43964396 case ECPGt_int: /* integer */
@@ -5871,39 +5871,39 @@ main(void)
58715871
58725872 /* create */
58735873 loid = lo_create(conn, 0);
5874- if (loid< 0)
5874+ if (loid< 0)
58755875 printf("lo_create() failed: %s", PQerrorMessage(conn));
58765876
58775877 printf("loid = %d\n", loid);
58785878
58795879 /* write test */
58805880 fd = lo_open(conn, loid, INV_READ|INV_WRITE);
5881- if (fd< 0)
5881+ if (fd< 0)
58825882 printf("lo_open() failed: %s", PQerrorMessage(conn));
58835883
58845884 printf("fd = %d\n", fd);
58855885
58865886 rc = lo_write(conn, fd, buf, buflen);
5887- if (rc< 0)
5887+ if (rc< 0)
58885888 printf("lo_write() failed\n");
58895889
58905890 rc = lo_close(conn, fd);
5891- if (rc< 0)
5891+ if (rc< 0)
58925892 printf("lo_close() failed: %s", PQerrorMessage(conn));
58935893
58945894 /* read test */
58955895 fd = lo_open(conn, loid, INV_READ);
5896- if (fd< 0)
5896+ if (fd< 0)
58975897 printf("lo_open() failed: %s", PQerrorMessage(conn));
58985898
58995899 printf("fd = %d\n", fd);
59005900
59015901 rc = lo_read(conn, fd, buf2, buflen);
5902- if (rc< 0)
5902+ if (rc< 0)
59035903 printf("lo_read() failed\n");
59045904
59055905 rc = lo_close(conn, fd);
5906- if (rc< 0)
5906+ if (rc< 0)
59075907 printf("lo_close() failed: %s", PQerrorMessage(conn));
59085908
59095909 /* check */
@@ -5912,7 +5912,7 @@ main(void)
59125912
59135913 /* cleanup */
59145914 rc = lo_unlink(conn, loid);
5915- if (rc< 0)
5915+ if (rc< 0)
59165916 printf("lo_unlink() failed: %s", PQerrorMessage(conn));
59175917
59185918 EXEC SQL COMMIT;