in commSetTimeout there is the following fragment which looks very odd to me
if (callback != NULL) {
typedef CommTimeoutCbParams Params;
Params ¶ms = GetCommParams<Params>(callback);
params.fd = fd;
F->timeoutHandler = callback;
}
Does this do anything?
If it does, is this really the proper way?That params variable is only
junk, right?
I guess it actually does something, with params being a reference..
Regards
Henrik
