typo in contrib/hstore/hstore_io.c

Lists: pgsql-patches
From: Filip Rembiałkowski <plk(dot)zuber(at)gmail(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: typo in contrib/hstore/hstore_io.c
Date: 2006-12-05 17:07:41
Message-ID: 92869e660612050907r53fd6120tb7a4b60034fed90b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

diff -u pgsql/contrib/hstore/hstore_io.c pg/contrib/hstore/hstore_io.c
--- pgsql/contrib/hstore/hstore_io.c 2006-10-04 02:29:44.000000000 +0200
+++ pg/contrib/hstore/hstore_io.c 2006-12-05 16:30:36.000000000 +0100
@@ -195,7 +195,7 @@
}
else if (*(state->ptr) == '\0')
{
- elog(ERROR, "Unexpectd end of string");
+ elog(ERROR, "Unexpected end of string");
}
else if (!isspace((unsigned char) *(state->ptr)))
{
@@ -210,7 +210,7 @@
}
else if (*(state->ptr) == '\0')
{
- elog(ERROR, "Unexpectd end of string");
+ elog(ERROR, "Unexpected end of string");
}
else
{

--
Filip Rembiałkowski


From: Neil Conway <neilc(at)samurai(dot)com>
To: Filip Rembiałkowski <plk(dot)zuber(at)gmail(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: typo in contrib/hstore/hstore_io.c
Date: 2006-12-05 17:36:27
Message-ID: 1165340187.23622.565.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Applied to HEAD with some additional spelling fixes. Thanks for the
patch.

-Neil

On Tue, 2006-12-05 at 18:07 +0100, Filip Rembiałkowski wrote:
> diff -u pgsql/contrib/hstore/hstore_io.c pg/contrib/hstore/hstore_io.c
> --- pgsql/contrib/hstore/hstore_io.c 2006-10-04 02:29:44.000000000 +0200
> +++ pg/contrib/hstore/hstore_io.c 2006-12-05 16:30:36.000000000 +0100
> @@ -195,7 +195,7 @@
> }
> else if (*(state->ptr) == '\0')
> {
> - elog(ERROR, "Unexpectd end of string");
> + elog(ERROR, "Unexpected end of string");
> }
> else if (!isspace((unsigned char) *(state->ptr)))
> {
> @@ -210,7 +210,7 @@
> }
> else if (*(state->ptr) == '\0')
> {
> - elog(ERROR, "Unexpectd end of string");
> + elog(ERROR, "Unexpected end of string");
> }
> else
> {
>
>