core dump

Pavel V. Knyazev pasha at surnet.ru
Fri Aug 2 12:52:33 UTC 2002


Hi.

> Ah, thanks.  I've got it.  Try attached which should
> work, and tell me how it's going on.

The bug has gone.
Please tell us when the new prerelease is done.

> --
> Katsuhiro Kondou

--
Pavel

> Index: nnrpd/post.h
> ===================================================================
> RCS file: /home/kondou/news/inn/repository/inn/nnrpd/post.h,v
> retrieving revision 1.1.1.1.6.1
> diff -u -r1.1.1.1.6.1 post.h
> --- nnrpd/post.h 14 Jul 2002 16:42:54 -0000 1.1.1.1.6.1
> +++ nnrpd/post.h 1 Aug 2002 15:01:14 -0000
> @@ -19,4 +19,10 @@
>  } HEADER;
>
>  #define HDR(_x) (Table[(_x)].Body)
> -#define HDR_SET(_x, _y) Table[(_x)].Body = Table[(_x)].Value = _y ;
Table[(_x)].Len = strlen(_y)
> +#define HDR_SET(_x, _y) \
> +    Table[(_x)].Body = Table[(_x)].Value = _y; \
> +    if (_y == NULL) { \
> + Table[(_x)].Len = 0; \
> +    } else { \
> + Table[(_x)].Len = strlen(_y); \
> +    }




More information about the inn-workers mailing list