[JDEV] Plz Help
temas
temas at box5.net
Mon May 14 12:18:59 CDT 2001
What does the debug log show as it exits?
--temas
On 14 May 2001 18:12:18 +0800, Da Rui wrote:
> Hi, all
>
> In order to observe how deliver module ( deliver.c ) of jabberd to work,
> I inserted some lines of code into the deliver.c . Compilatian was
> successfull. But when I try to start the jabberd, some error occured,
> the jabberd exited without any notice and there were nothing in the
> error.log.
> Could someone help me settle the problem?
>
> Following demonstrating how I modified the code (
> hometojabber/jabberd/deliver.c):
>
> void deliver(dpacket p, instance i)
> {
> ilist a, b;
>
> // following 3 lines is added to observe how the module works
>
> xmlnode temp=xmlnode_dup(p->x);
> fprintf(stderr,"Destination: %s Packet: %s \n", i->id,
> xmlnode2str(temp));
> xmlnode_free(temp); //end of my additional code
>
>
> if(deliver__flag == 1 && p == NULL && i == NULL)
>
> ...
>
> }
>
> Many thx in advance.
>
> Rui Da
More information about the JDev
mailing list