summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2012-05-08 16:35:22 +0000
committerPeter Eisentraut2012-05-08 16:35:22 +0000
commitdcb2c5838183d3d305dbf713d4519d094f835b2f (patch)
treec2004131ae6e58e2588e4070d582c9ca02477614
parent3284e03d5d791e953e8c7eba25f1afb00c62e4a4 (diff)
Fix misleading comments
Josh Kupershmidt
-rw-r--r--contrib/pgcrypto/pgp-compress.c2
-rw-r--r--src/pl/plperl/plperl_helpers.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgcrypto/pgp-compress.c b/contrib/pgcrypto/pgp-compress.c
index 7a9516b070..c592453402 100644
--- a/contrib/pgcrypto/pgp-compress.c
+++ b/contrib/pgcrypto/pgp-compress.c
@@ -105,7 +105,7 @@ compress_init(PushFilter *next, void *init_arg, void **priv_p)
/* writes compressed data packet */
-/* cant handle zero-len incoming data, but shouldnt */
+/* can handle zero-len incoming data, but shouldn't */
static int
compress_process(PushFilter *next, void *priv, const uint8 *data, int len)
{
diff --git a/src/pl/plperl/plperl_helpers.h b/src/pl/plperl/plperl_helpers.h
index 35e1257457..2c17790062 100644
--- a/src/pl/plperl/plperl_helpers.h
+++ b/src/pl/plperl/plperl_helpers.h
@@ -62,7 +62,7 @@ sv2cstr(SV *sv)
(SvTYPE(sv) > SVt_PVLV && SvTYPE(sv) != SVt_PVFM))
sv = newSVsv(sv);
else
- /* increase the reference count so we cant just SvREFCNT_dec() it when
+ /* increase the reference count so we can just SvREFCNT_dec() it when
* we are done */
SvREFCNT_inc(sv);