git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f05cfd2)
No need to set errorMessage length --- already set in goto target.
2004年10月29日 19:30:02 +0000 (19:30 +0000)
2004年10月29日 19:30:02 +0000 (19:30 +0000)

diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index b4a9641a1867b6cc914245d392615d89b2ee29e8..3da9caecc6d5c702943410e13907b3443a247ce8 100644 (file)
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.287 2004年10月29日 17:53:13 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.288 2004年10月29日 19:30:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2252,7 +2252,6 @@ PQrequestCancel(PGconn *conn)
{
strcpy(conn->errorMessage.data,
"PQrequestCancel() -- socket() failed: ");
- conn->errorMessage.len = strlen(conn->errorMessage.data);
goto cancel_errReturn;
}
retry3:
@@ -2264,7 +2263,6 @@ retry3:
goto retry3;
strcpy(conn->errorMessage.data,
"PQrequestCancel() -- connect() failed: ");
- conn->errorMessage.len = strlen(conn->errorMessage.data);
goto cancel_errReturn;
}
@@ -2287,7 +2285,6 @@ retry4:
goto retry4;
strcpy(conn->errorMessage.data,
"PQrequestCancel() -- send() failed: ");
- conn->errorMessage.len = strlen(conn->errorMessage.data);
goto cancel_errReturn;
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /