[JDEV] Parent PID bug patch
kminkler at jabber.com
Mon Feb 12 22:49:00 CST 2001
Sorry for the confusion, but there is an error in base_stdout.c Although the offending code is correct, and functions normally when <stdout/> is used in a child jabberd, the heartbeat registration was happening at the wrong time.. it was being done when the server was initializing, when it should have been initialized when it was verifying the <stdout/> tag in the config... Please use this patch to fix this problem.
NOTE: this problem would occur when jabberd is run from a terminal, and the terminal is quit, or whenever the parent PID of the jabberd server changes. This is the desired function when operating with <stdout/> however, so no other section of the code should be changed.
Here is the patch:
< if(id == NULL) return r_PASS;
> if(id == NULL)
> return r_PASS;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 232 bytes
Desc: not available
More information about the JDev