Current 2.3 under Solaris 7/x86 ...
The Hermit Hacker
scrappy at hub.org
Tue Jun 13 14:33:25 UTC 2000
(gdb) list
556 CMDmode(ac, av)
557 int ac;
558 char *av[];
559 {
560 if (caseEQ(av[1], "reader"))
561 Reply("%d %s InterNetNews NNRP server %s ready (%s).\r\n",
562 PERMcanpost ? NNTP_POSTOK_VAL : NNTP_NOPOSTOK_VAL,
563 PERMaccessconf->pathhost, inn_version_string,
564 PERMcanpost ? "posting ok" : "no posting");
565 else
(gdb) print *PERMaccessconf
$1 = {}
(gdb) print PERMaccessconf
$2 = (ACCESSGROUP *) 0x0
On Tue, 13 Jun 2000, Katsuhiro Kondou wrote:
> In article <Pine.BSF.4.21.0006130933270.10507-100000 at thelab.hub.org>,
> The Hermit Hacker <scrappy at hub.org> wrote;
>
> } #0 0x806625e in CMDmode (ac=2, av=0x810bd00) at commands.c:561
> :
> } 561 Reply("%d %s InterNetNews NNRP server %s ready (%s).\r\n",
> } 562 PERMcanpost ? NNTP_POSTOK_VAL : NNTP_NOPOSTOK_VAL,
> } 563 PERMaccessconf->pathhost, inn_version_string,
> } 564 PERMcanpost ? "posting ok" : "no posting");
> } 565 else
> } (gdb) print PERMcanpost
> } $1 = 1
> } (gdb) print PERMaccessconf->pathhost
> } There is no member named pathhost.
>
> How about 'print *PERMaccessconf'?
> --
> Katsuhiro Kondou
>
>
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy at hub.org secondary: scrappy@{freebsd|postgresql}.org
More information about the inn-workers
mailing list