[Xorp-users] select timeout question

Pavlin Radoslavov pavlin at icir.org
Thu Sep 27 23:38:30 PDT 2007


> Bleh, I see.  Timeout is a pointer.  Would have been more
> clear if the code was:  timeout == NULL

I am with you on this :)
Personally I always use NULL instead of 0 when comparing a pointer
for exactly same reason.

Anyway, I just changed the timeout argument so it is passed as a
reference instead of being a pointer.

Thanks,
Pavlin



More information about the Xorp-users mailing list