Hi, folks. This is mainly for Vadim, but maybe others can help me here.
I'm trying to understand how the new configuration file stuff works, and
I stumbled onto this bit of code in HtConfiguration::Find():
else { // end "server"
tmpPtr.obj=tmpPtr.dict->Find(name);
if (tmpPtr.ptr) {
chr=tmpPtr.conf->Find(value);
if (tmpPtr.ptr)
return chr;
}
}
As far as I can tell, the tmpPtr.dict above will use tmpPtr before it
is set. Can anyone confirm or disprove this? It sure looks wrong to
me, but I don't understand the code enough to fix it to do what it should
be doing here. The condition on the return above also makes little
sense, as the second Find doesn't change tmpPtr.
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.