From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Michael Graff <explorer(at)flame(dot)org> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: ipv6 patch #3 |
Date: | 2003-06-25 21:19:42 |
Message-ID: | 200306252119.h5PLJgf10907@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
OK, done.
---------------------------------------------------------------------------
Michael Graff wrote:
> Ok, I think the ,bits part was in error. Go ahead and remove the %d
> and the ,bits part.
>
> --Michael
>
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>
> > Index: src/backend/utils/adt/inet_net_ntop.c
> > ===================================================================
> > RCS file: /cvsroot/pgsql-server/src/backend/utils/adt/inet_net_ntop.c,v
> > retrieving revision 1.13
> > diff -c -c -r1.13 inet_net_ntop.c
> > *** src/backend/utils/adt/inet_net_ntop.c 24 Jun 2003 22:21:22 -0000 1.13
> > --- src/backend/utils/adt/inet_net_ntop.c 24 Jun 2003 22:22:44 -0000
> > ***************
> > *** 270,278 ****
> >
> > if (!double_colon) {
> > if (bits < 128 - 32)
> > ! cp += SPRINTF((cp, "::", bits));
> > else if (bits < 128 - 16)
> > ! cp += SPRINTF((cp, ":0", bits));
> > }
> >
> > /* Format CIDR /width. */
> > --- 270,278 ----
> >
> > if (!double_colon) {
> > if (bits < 128 - 32)
> > ! cp += SPRINTF((cp, "::%d", bits));
> > else if (bits < 128 - 16)
> > ! cp += SPRINTF((cp, ":0%d", bits));
> > }
> >
> > /* Format CIDR /width. */
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-06-25 21:26:04 | Re: Interval Patch |
Previous Message | Tom Lane | 2003-06-25 21:17:14 | Re: Runtime.SGML diff ... please expedite! |