code:
/* keep track of start time if needed */
if (rmtp)
{
rmtp->tv_sec = 0; //
HERE
rmtp->tv_nsec = 0; // and
HERE
if (gettimeofday(×tart, NULL) < 0)
return -1;
}
--
Rene
Thanks for your suggestion. I checked the standard and I think that it
is indeed allowed to pass in two pointers to the same structure. This
will be addressed.
With kind regards,
Erik