[Ns-developers] Suggest for ns-2: schedule()
Pascal ANELLI
Pascal.Anelli at univ-reunion.fr
Wed Dec 17 23:23:10 PST 2008
Hello
In ns-2.33. I propose to add the time in the error message for the test
of handler. This becomes:
// handler should ALWAYS be set... if it's not, it's a bug in
the caller
if (!h) {
fprintf(stderr,
"Scheduler: attempt to schedule an event with a
NULL han
dler."
" Don't DO that at time %f.\n", clock_);
abort();
};
the change is line 89:
- " Don't DO that.\n");
+ " Don't DO that at time %f.\n",clock_);
The idea is to help to find when the error occurs in the model
Thank you
Sincerely
More information about the Ns-developers
mailing list