Commit bca9a0b1 authored by rswindell's avatar rswindell

getnodedat() no longer zero's out "thisnode" - stop continuous errors

when record can't be locked and thisnode.action != action.
parent 10f3e191
......@@ -57,7 +57,8 @@ int sbbs_t::getnodedat(uint number, node_t *node, bool lockit)
return(-1);
}
memset(node,0,sizeof(node_t));
if(node!=&thisnode)
memset(node,0,sizeof(node_t));
sprintf(str,"%snode.dab",cfg.ctrl_dir);
if(nodefile==-1) {
if((nodefile=nopen(str,O_RDWR|O_DENYNONE))==-1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment