summaryrefslogtreecommitdiff
path: root/psycopg/connection_int.c
diff options
context:
space:
mode:
authorPiotr Kasprzyk <ciri@ciri.pl>2013-04-26 10:21:56 +0200
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2013-04-26 09:59:40 +0100
commit31b6ec63f8ab0bc0333c0cbe9a19543fde437ce2 (patch)
tree591d9e77b7d8ef7d968480dac2e22aa69a8b19a2 /psycopg/connection_int.c
parent2eba97de7059b71b953fda9b1720a7059cbbcaf2 (diff)
downloadpsycopg2-31b6ec63f8ab0bc0333c0cbe9a19543fde437ce2.tar.gz
Fix multiple misspellings
Diffstat (limited to 'psycopg/connection_int.c')
-rw-r--r--psycopg/connection_int.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/psycopg/connection_int.c b/psycopg/connection_int.c
index 51c2381..7851b0a 100644
--- a/psycopg/connection_int.c
+++ b/psycopg/connection_int.c
@@ -226,7 +226,7 @@ conn_get_standard_conforming_strings(PGconn *pgconn)
* The presence of the 'standard_conforming_strings' parameter
* means that the server _accepts_ the E'' quote.
*
- * If the paramer is off, the PQescapeByteaConn returns
+ * If the parameter is off, the PQescapeByteaConn returns
* backslash escaped strings (e.g. '\001' -> "\\001"),
* so the E'' quotes are required to avoid warnings
* if 'escape_string_warning' is set.
@@ -1177,7 +1177,7 @@ conn_set_client_encoding(connectionObject *self, const char *enc)
goto endlock;
}
- /* no error, we can proceeed and store the new encoding */
+ /* no error, we can proceed and store the new encoding */
{
char *tmp = self->encoding;
self->encoding = clean_enc;